2024.03.19 12:55:37.111994 [ 643 ] {} Context: Server was built with sanitizer. It will work slowly. 2024.03.19 12:55:37.112215 [ 643 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2024.03.19 12:55:37.114358 [ 643 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.03.19 12:55:38.341284 [ 643 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.03.19 12:55:38.342581 [ 643 ] {} KeeperLogStore: Removing all changelogs 2024.03.19 12:55:38.343871 [ 643 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.03.19 12:55:38.343920 [ 643 ] {} KeeperServer: Can't start NON-SECURE keeper server in FIPS mode, please check the config. 2024.03.19 12:55:38.348689 [ 643 ] {} KeeperStateManager: No state was read 2024.03.19 12:55:38.348742 [ 643 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.03.19 12:55:38.348776 [ 643 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.03.19 12:55:38.400054 [ 858 ] {} RaftInstance: Election timeout, initiate leader election 2024.03.19 12:55:38.444555 [ 643 ] {} Access(local directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.03.19 12:55:38.444608 [ 643 ] {} Access(local directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.03.19 12:55:38.528364 [ 643 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.03.19 12:55:42.096941 [ 1025 ] {83a2344e-8c6e-48e8-8d2b-ae5106f35592} executeQuery: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60174) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t2 ATTACH PARTITION tuple() FROM attach_partition_t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0xc6ae402 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7070: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c6fd8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c7379 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75f129 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1932 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:42.120712 [ 1025 ] {83a2344e-8c6e-48e8-8d2b-ae5106f35592} TCPHandler: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0xc6ae402 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7070: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c6fd8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c7379 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75f129 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1932 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:42.120930 [ 1027 ] {f4a3f76a-d0f1-4b3c-b3fb-734344dfa6c0} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f89f79f6000, frame address: 0x7f89f818f8c0, stack size: 419648, maximum stack size: 8388608: While processing match('', repeat('(', 100000)). (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60206) (comment: 02831_regexp_analyze_recursion.sql) (in query: SELECT match('', repeat('(', 100000));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1561 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 21. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 2024.03.19 12:55:42.122171 [ 1027 ] {f4a3f76a-d0f1-4b3c-b3fb-734344dfa6c0} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f89f79f6000, frame address: 0x7f89f818f8c0, stack size: 419648, maximum stack size: 8388608: While processing match('', repeat('(', 100000)). (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1561 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 19. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 20. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 21. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 25. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 26. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 27. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 28. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 29. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 30. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 31. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: (anonymous namespace)::analyzeImpl(std::basic_string_view>, char const*, (anonymous namespace)::Literal&, bool&, std::vector<(anonymous namespace)::Literal, std::allocator<(anonymous namespace)::Literal>>&) @ 0x146f1b33 in /usr/bin/clickhouse 2024.03.19 12:55:42.532867 [ 1025 ] {9b52b844-9729-4e02-9f70-1842a94605a3} executeQuery: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60174) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t4 ATTACH PARTITION tuple() FROM attach_partition_t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7073: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c700a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c7379 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75f129 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1932 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:42.533821 [ 1025 ] {9b52b844-9729-4e02-9f70-1842a94605a3} TCPHandler: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7073: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c700a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1f3c7379 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75f129 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1932 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:42.878947 [ 1027 ] {bd2bd213-1aa1-420b-9c1b-071afaffbdbc} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress, the number of elements in the compressed data (65) is not equal to the expected number of elements in the decompressed data (1). (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecT64.cpp:584: DB::CompressionCodecT64::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x1cc1d5cb in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x1cc724ae in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:299: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x1cbf483c in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:13: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf2295 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:0: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x1c9236dd in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:67: DB::ConcatReadBuffer::nextImpl() @ 0x1d1918c3 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a78ef in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:43.429231 [ 1031 ] {df890320-f435-418f-ad7a-13f57051e19a} executeQuery: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60360) (comment: 02703_explain_query_tree_is_forbidden_with_old_analyzer.sql) (in query: EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [95]) @ 0x183d3902 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x1df6608f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x1df609b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:43.429903 [ 1031 ] {df890320-f435-418f-ad7a-13f57051e19a} TCPHandler: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [95]) @ 0x183d3902 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x1df6608f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x1df609b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:43.468239 [ 788 ] {} test_rvbgy99p.t (4c538346-bc18-4fcc-b4b1-1481a20daf04): Cannot quickly remove directory /var/lib/clickhouse/store/4c5/4c538346-bc18-4fcc-b4b1-1481a20daf04/delete_tmp_all_1_1_1 by removing files; fallback to recursive removal. Reason: Code: 458. DB::ErrnoException: Cannot unlink file /var/lib/clickhouse/store/4c5/4c538346-bc18-4fcc-b4b1-1481a20daf04/delete_tmp_all_1_1_1/skp_idx_inv_idx.gin_dict, errno: 2, strerror: No such file or directory. (CANNOT_UNLINK) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:43.753922 [ 1028 ] {7087e5f2-5dd0-4328-9eb7-0c3cae128f91} executeQuery: Code: 131. DB::Exception: Too large string size: 9223372036854775807. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60398) (comment: 02683_native_too_large_size.sql) (in query: SELECT * FROM format('Native', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int32, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, VindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$i WatchIDInt64c*5/ !p~Fӓ2ql!|@Hǐ=ЌWE&Lyk=p1 oC»-C_\/EJ{ JavaEnableInt16TitleString GoodEventInt16 EventTimeDateTime7Qn$Q)Q8*QJQ Q0Q83Q Q1Q EventDateDate>>>>>>>>>> CounterIDInt32ClientIPInt32zzzzI`z^{]^{]gUzRegionIDInt32GGGG'GGUserIDInt64 :6 :6 :6 :6qJd8 Ks}&n%t"6&n%t"6syyf :6 CounterClassInt16OSInt16'', UserAgentInt16URLString-http://holodilInt16WindowClientWidthInt16WindowClientHeightInt16ClientTimeZoneInt16ClientEventTimeDateTimeSilverlightVersion1Int16SilverlightVersion2Int16SilverlightVersion3Int32SilverlightVersion4Int16 PageCharsetString CodeVersionInt32IsLinkInt16 IsDownloadInt16 IsNotBounceInt16FUniqIDInt64%l+k:Wm OriginalURLStringHIDInt32 IsOldCounterInt16IsEventInt16 IsParameterInt16 DontCountHitsInt16WithHashInt16HitColorString5555555555LocalEventTimeDateTime&QǘQ}QݞQ'QAQQ QYQQAgeInt16SexInt16IncomeInt16 InterestsInt16: RobotnessInt16RemoteIPInt32^DI^DI^DI^DI93N^DIUU=k^DI WindowNameInt32 OpenerNameInt32 HistoryLengthInt16BrowserLanguageString����������BrowserCountryString� � � � � � � � � � SocialNetworkString SocialActionString HTTPErrorInt16 SendTimingInt32 DNSTimingInt32 ConnectTimingInt32ResponseStartTimingInt32ResponseEndTimingInt32 FetchTimingInt32SocialSourceNetworkIDInt16SocialSourcePageString ParamPriceInt64 ParamOrderIDString ParamCurrencyStringNHNHNHNHNHNHNHNHNHNHParamCurrencyIDInt16OpenstatServiceNameStringOpenstatCampaignIDString OpenstatAdIDStringOpenstatSourceIDString UTMSourceString UTMMediumString UTMCampaignString UTMContentStringUTMTermStringFromTagStringHasGCLIDInt16 RefererHashInt64X+'X+'X+'X+'X+'X+'X+'X+'X+'X+'URLHashInt64|3b.|3b.|3b.|3b. oe #\X-hX vvh9D|3b.CLIDInt32$$);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0xd9fad85 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x1ceaf4c0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1ceadae0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x1fb28fcd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x1c23083b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c231092 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:55:44.071198 [ 1030 ] {b33c6ba7-8ecd-4cb7-bf47-278734d9b372} executeQuery: Code: 128. DB::Exception: Too large array size: While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60408) (comment: 02682_quantiles_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(RowBinary, 'ik2 String, Sum AggregateFunction(sum, UInt16), A$g AggregateFunction(quantiles(0.4, 0.9), UInt64), GroupArray AggregateFunction(groupArray, String)', '295TMi44400000005942762421546108502 z *  ParalcelParsingInputFormat   te Date, I ! STRING  d Tuple(UInt8) vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvTabSeparatedWithNamesAndTypes d Date, a S)ring, x UInt32, y UInt64, z Float32 29TabSeparatevvvvvvvdRawWithNames a UInt32 26TabSeparatedR,b UInt32 26TabSeparatedRawWithNthNames vvvvv 1 key U7878 ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [21]) @ 0x146a8ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x153e5637 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:159: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x1547fe21 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x1ce32d56 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:63: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x1fa79e73 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e61d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x1c23083b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c231092 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:55:44.250610 [ 1231 ] {338dc847-a4af-4cf6-b336-07003ff72111} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 128. DB::Exception: Too large array size. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [21]) @ 0x146a8ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:370: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x152cda8c in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x152f52b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x1ce33d0c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x1ce344ee in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:521: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x1ce73b51 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x1faa9d12 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e61d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:44.250983 [ 1030 ] {b33c6ba7-8ecd-4cb7-bf47-278734d9b372} TCPHandler: Code: 128. DB::Exception: Too large array size: While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [21]) @ 0x146a8ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x153e5637 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:159: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x1547fe21 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x1ce32d56 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:63: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x1fa79e73 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e61d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x1c23083b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c231092 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:55:44.250992 [ 1028 ] {7087e5f2-5dd0-4328-9eb7-0c3cae128f91} TCPHandler: Code: 131. DB::Exception: Too large string size: 9223372036854775807. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0xd9fad85 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x1ceaf4c0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1ceadae0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x1fb28fcd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x1c23083b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c231092 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:55:44.252538 [ 649 ] {338dc847-a4af-4cf6-b336-07003ff72111} executeQuery: Code: 128. DB::Exception: Too large array size: While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60424) (comment: 02681_group_array_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(CSV, 'entitypArray AggregateFunction(groupArray, String)', '295TMiews.viewN""""""TabSeparated d St"" r');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [21]) @ 0x146a8ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:370: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x152cda8c in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x152f52b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x1ce33d0c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x1ce344ee in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:521: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x1ce73b51 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x1faa9d12 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e61d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:44.253493 [ 649 ] {338dc847-a4af-4cf6-b336-07003ff72111} TCPHandler: Code: 128. DB::Exception: Too large array size: While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [21]) @ 0x146a8ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:370: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x152cda8c in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x152f52b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x1ce33d0c in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x1ce344ee in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:521: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x1ce73b51 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x1faa9d12 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e61d in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:44.896446 [ 1030 ] {b8b16e23-5ed3-47c0-8a95-04695262c272} executeQuery: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49848) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index 'foo' TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 27178, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 22185, prefer_fetch_merged_part_size_threshold = 7988840255, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 8844574), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x1f4a5cf3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f3508f4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:45.232999 [ 1030 ] {b8b16e23-5ed3-47c0-8a95-04695262c272} TCPHandler: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x1f4a5cf3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f3508f4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:45.233095 [ 1028 ] {1535da8b-ff47-4302-badd-2ce30e38ef72} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:45.234266 [ 1028 ] {1535da8b-ff47-4302-badd-2ce30e38ef72} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:45.241914 [ 1028 ] {a9a3a808-c5df-4f2a-bb58-18532a1f9323} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:45.242784 [ 1028 ] {a9a3a808-c5df-4f2a-bb58-18532a1f9323} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:45.538930 [ 1030 ] {1d294188-6dc3-4c04-8791-9544c88051b3} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49848) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index id + rand() TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 27178, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 22185, prefer_fetch_merged_part_size_threshold = 7988840255, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 8844574), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1174: DB::ActionsDAG::assertDeterministic() const @ 0x1d0a2e25 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:796: DB::ExpressionActions::assertDeterministic() const @ 0x1d303b22 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x1f4a5c0d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f3508f4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:45.860275 [ 1028 ] {01a945df-354b-48b7-ab71-6b2dd6a903bf} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:45.999197 [ 1272 ] {337f62d1-c1be-4e70-8365-8da25b1b10e3} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x1fa697e3 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:792: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa65058 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:46.128130 [ 994 ] {093b0201-e2b3-4136-906b-c6d05218a252} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::ParsingException: Size of BSON document is invalid. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1002: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa67e5c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa6adbc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x1fb3b5a9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1fb41261 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1fb41142 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:46.128477 [ 1030 ] {1d294188-6dc3-4c04-8791-9544c88051b3} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1174: DB::ActionsDAG::assertDeterministic() const @ 0x1d0a2e25 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:796: DB::ExpressionActions::assertDeterministic() const @ 0x1d303b22 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x1f4a5c0d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f3508f4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:46.128535 [ 1028 ] {01a945df-354b-48b7-ab71-6b2dd6a903bf} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:46.128433 [ 1026 ] {337f62d1-c1be-4e70-8365-8da25b1b10e3} executeQuery: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49866) (comment: 02590_bson_duplicate_column.sql) (in query: select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x1fa697e3 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:792: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa65058 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:46.129588 [ 1026 ] {337f62d1-c1be-4e70-8365-8da25b1b10e3} TCPHandler: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x1fa697e3 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:792: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa65058 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x1fb3e117 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x1fb3c244 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3f738 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:46.129795 [ 1025 ] {093b0201-e2b3-4136-906b-c6d05218a252} executeQuery: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49868) (comment: 02589_bson_invalid_document_size.sql) (in query: select * from format(BSONEachRow, 'x UInt32', x'00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1002: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa67e5c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa6adbc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x1fb3b5a9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1fb41261 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1fb41142 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:46.130513 [ 1025 ] {093b0201-e2b3-4136-906b-c6d05218a252} TCPHandler: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1002: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa67e5c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x1fa6adbc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x1fb3b5a9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1fb41261 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1fb41142 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:46.168595 [ 1028 ] {aeb0f9d8-8567-4f86-8456-d587f1bd01cc} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.169874 [ 1028 ] {aeb0f9d8-8567-4f86-8456-d587f1bd01cc} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.176748 [ 1028 ] {9c0141e7-adc3-4b01-9180-f351a91ce449} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.177604 [ 1028 ] {9c0141e7-adc3-4b01-9180-f351a91ce449} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126842d6 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.184477 [ 1028 ] {564fd576-0462-486c-8004-d82ff1c8134a} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:46.185306 [ 1028 ] {564fd576-0462-486c-8004-d82ff1c8134a} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:46.530319 [ 1028 ] {09db2eb0-6cbc-43e5-b644-c4d4b25c4fc9} executeQuery: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('abc', '%b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x126b8af7 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12683f01 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.856430 [ 1030 ] {1e9c0f54-d1a0-4e6c-80a3-552ed4b67f0d} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49898) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.856613 [ 1028 ] {09db2eb0-6cbc-43e5-b644-c4d4b25c4fc9} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x126b8af7 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12683f01 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:46.857280 [ 1030 ] {1e9c0f54-d1a0-4e6c-80a3-552ed4b67f0d} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.862927 [ 1030 ] {bb87a0a1-5408-4d46-ad8e-7f8521a07ad3} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49898) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.863601 [ 1030 ] {bb87a0a1-5408-4d46-ad8e-7f8521a07ad3} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.869235 [ 1030 ] {6b38f8fb-12b3-4446-9d85-74d037f37fa7} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49898) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.869900 [ 1030 ] {6b38f8fb-12b3-4446-9d85-74d037f37fa7} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.877258 [ 1030 ] {365a6ec6-823d-4122-a269-6f81df86be39} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49898) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('ghj', (('klm', [16, 17]))), ('nop', (('rst', [18])))), 'Map(String, Map(String, Array(UInt8)))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:46.877972 [ 1030 ] {365a6ec6-823d-4122-a269-6f81df86be39} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0xcb0c830 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07d68 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:55:47.209219 [ 1028 ] {66cb8fdd-68ca-427a-8050-f75307f206d4} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:47.560231 [ 1027 ] {b6bafaeb-8fc6-41bb-a018-5e4f79389258} executeQuery: Code: 60. DB::Exception: Table test_0npvg6rt.receiver_02572 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49944) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- ensure that insert fails insert into proxy_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:47.560587 [ 1028 ] {66cb8fdd-68ca-427a-8050-f75307f206d4} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:47.561263 [ 1027 ] {b6bafaeb-8fc6-41bb-a018-5e4f79389258} TCPHandler: Code: 60. DB::Exception: Table test_0npvg6rt.receiver_02572 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:47.571002 [ 1028 ] {2e905f7f-71d5-425e-97cb-79397a12ca59} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:47.573176 [ 1028 ] {2e905f7f-71d5-425e-97cb-79397a12ca59} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:47.582328 [ 1028 ] {3657e183-ebb9-4115-85ee-51b9ca89ede9} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:47.583685 [ 1028 ] {3657e183-ebb9-4115-85ee-51b9ca89ede9} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:47.592588 [ 1027 ] {a33e7cf0-55fd-4059-9530-2f660c1b8388} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_0npvg6rt.receiver_02572 doesn't exist: while pushing to view test_0npvg6rt.push_to_proxy_mv_02572 (d021dda6-1f4d-454d-ad43-1883d061b45b). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:55:47.990795 [ 1028 ] {ea6a1d75-2c35-4a29-83e5-13b0f3d0b54d} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12684556 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:48.289334 [ 1030 ] {b324aba5-19ea-4aa9-9122-9dbbeebbba75} executeQuery: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50024) (comment: 02561_with_fill_date_datetime_incompatible.sql) (in query: SELECT today() AS a ORDER BY a ASC WITH FILL FROM now() - toIntervalMonth(1) TO now() + toIntervalDay(1) STEP 82600;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa71e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:48.289587 [ 1028 ] {ea6a1d75-2c35-4a29-83e5-13b0f3d0b54d} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12684556 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:48.290432 [ 1030 ] {b324aba5-19ea-4aa9-9122-9dbbeebbba75} TCPHandler: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa71e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:48.290499 [ 1027 ] {f7b3fa98-a423-4f61-a9bf-9411a537a466} executeQuery: Code: 60. DB::Exception: Table test_0npvg6rt.receiver_02572 doesn't exist: while pushing to view test_0npvg6rt.push_to_proxy_mv_02572 (d021dda6-1f4d-454d-ad43-1883d061b45b). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49944) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- materialized_views_ignore_errors=0 insert into data_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:48.291776 [ 1027 ] {f7b3fa98-a423-4f61-a9bf-9411a537a466} TCPHandler: Code: 60. DB::Exception: Table test_0npvg6rt.receiver_02572 doesn't exist: while pushing to view test_0npvg6rt.push_to_proxy_mv_02572 (d021dda6-1f4d-454d-ad43-1883d061b45b). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:48.298868 [ 1028 ] {c04c2ad0-2f41-4b32-8bbb-fa2182e4e657} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('32', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12684556 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:48.300184 [ 1028 ] {c04c2ad0-2f41-4b32-8bbb-fa2182e4e657} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12684556 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:48.308558 [ 1028 ] {ef421d8b-c4c0-4d9a-ab10-5788e3503fc6} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:48.310063 [ 1028 ] {ef421d8b-c4c0-4d9a-ab10-5788e3503fc6} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:48.741839 [ 1028 ] {f70bfe88-569c-4a41-a1e4-6b3b6be283f8} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('02-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.063756 [ 1027 ] {b6ebcbe4-1dc4-47ea-9d86-f2c043576530} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50068) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt128 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:113: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1fea881c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:49.063898 [ 1028 ] {f70bfe88-569c-4a41-a1e4-6b3b6be283f8} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.064873 [ 1027 ] {b6ebcbe4-1dc4-47ea-9d86-f2c043576530} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:113: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1fea881c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:49.072255 [ 1028 ] {1c036629-af95-43a0-a405-6c215ea2a890} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('04-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.073314 [ 1028 ] {1c036629-af95-43a0-a405-6c215ea2a890} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.073558 [ 1027 ] {14982852-e664-4b5f-ba9c-35e4460061ba} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50068) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt256 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:113: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1fea881c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:49.074424 [ 1027 ] {14982852-e664-4b5f-ba9c-35e4460061ba} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:113: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1fea881c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:49.121477 [ 1028 ] {b0a73838-e170-4e74-b7b2-d75699992029} executeQuery: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('2001-02-29', '%Y-%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.122589 [ 1028 ] {b0a73838-e170-4e74-b7b2-d75699992029} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x126baa53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x12689ba0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x12683081 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:49.674302 [ 1028 ] {1622782b-6f32-4626-b4c4-210ae727e0f0} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:1981 day of year:366: While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1981 366', '%Y %j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x126ba865 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x126832b0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:49.675327 [ 1028 ] {1622782b-6f32-4626-b4c4-210ae727e0f0} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:1981 day of year:366: While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x126ba865 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x126832b0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.064116 [ 1028 ] {20d2c06d-5d15-4f74-ad23-71751dbddf13} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('367', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12685c4e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.325679 [ 1031 ] {abec69cd-da5e-4d22-a112-2e285dbd31a9} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50186) (comment: 02559_multiple_read_steps_in_prewhere.sql) (in query: SELECT cast(id1 as UInt16) AS cond1 FROM test_02559 PREWHERE cond1 LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:0: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x1eb52ba3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x1f587c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f58569e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:50.849398 [ 1025 ] {c32287fe-f4eb-4171-93e7-ece195f6335c} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50202) (comment: 02553_type_json_attach_partition.sql) (in query: ALTER TABLE t_json_attach_partition ATTACH PARTITION tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0xc994dce in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf5fcd in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf3c3c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, std::unique_lock&) const @ 0x1f38a529 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x1f38cbd7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) @ 0x1f38d3cd in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1812: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75dc04 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1318: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a144a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:50.849816 [ 1031 ] {abec69cd-da5e-4d22-a112-2e285dbd31a9} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:0: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x1eb52ba3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x1f587c22 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f58569e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:50.849931 [ 1028 ] {20d2c06d-5d15-4f74-ad23-71751dbddf13} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12685c4e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.850833 [ 1025 ] {c32287fe-f4eb-4171-93e7-ece195f6335c} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0xc994dce in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf5fcd in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf3c3c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, std::unique_lock&) const @ 0x1f38a529 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x1f38cbd7 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) @ 0x1f38d3cd in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1812: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x1f75dc04 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1318: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a144a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:50.859611 [ 1028 ] {560df7d2-3883-43c2-a6a8-a08c5fd060c7} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('000', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12685c4e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.860764 [ 1028 ] {560df7d2-3883-43c2-a6a8-a08c5fd060c7} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12685c4e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.868244 [ 1028 ] {ee944390-3a7d-4e93-a622-73f8bc987b7a} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: -- The last one is chosen if multiple day of years are supplied. select parseDateTime('2000 366 2001', '%Y %j %Y');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x126ba865 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x126832b0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:50.869374 [ 1028 ] {ee944390-3a7d-4e93-a622-73f8bc987b7a} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x126ba865 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x126832b0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681623 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:51.326346 [ 1028 ] {f3025eca-e60e-4321-a950-93987bf61e42} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.327665 [ 1028 ] {f3025eca-e60e-4321-a950-93987bf61e42} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.336076 [ 1028 ] {61a04850-61d5-42f5-ba93-365af7bcd837} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.337253 [ 1028 ] {61a04850-61d5-42f5-ba93-365af7bcd837} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.345036 [ 1028 ] {d38bf6cf-cbcc-4ad3-a785-ad94649c6011} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:51.346142 [ 1028 ] {d38bf6cf-cbcc-4ad3-a785-ad94649c6011} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:51.401110 [ 1028 ] {be4bc648-8a0b-45d7-a35c-ac8ebd3986f3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.402341 [ 1028 ] {be4bc648-8a0b-45d7-a35c-ac8ebd3986f3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.409572 [ 1028 ] {9aee5bdb-c9da-4c3a-8594-ce0e4fa4b92e} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.410591 [ 1028 ] {9aee5bdb-c9da-4c3a-8594-ce0e4fa4b92e} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12688468 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.417603 [ 1028 ] {493b54cd-c4e4-468a-a1ac-367144a0b708} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:51.418826 [ 1028 ] {493b54cd-c4e4-468a-a1ac-367144a0b708} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:51.861194 [ 1028 ] {3ebcc352-f3e9-4e22-a46b-d588249b86c3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.865827 [ 1028 ] {3ebcc352-f3e9-4e22-a46b-d588249b86c3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.880397 [ 1028 ] {94b61f32-51ef-4331-b5e2-277427d4b95d} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.901688 [ 1028 ] {94b61f32-51ef-4331-b5e2-277427d4b95d} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:51.934879 [ 1028 ] {57e68b5d-8113-45f2-80ea-1e42af324aaa} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:51.941824 [ 1028 ] {57e68b5d-8113-45f2-80ea-1e42af324aaa} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.028875 [ 1028 ] {06319029-8e5b-4367-bcf2-78e5e18767be} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.030027 [ 1028 ] {06319029-8e5b-4367-bcf2-78e5e18767be} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.040219 [ 1028 ] {b964c5d5-0fda-4a43-ba84-49fc622ac856} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.050419 [ 1028 ] {b964c5d5-0fda-4a43-ba84-49fc622ac856} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.108719 [ 1028 ] {08fdc2a9-9bef-4e5b-9e0f-2eff793d9eeb} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.118973 [ 1028 ] {08fdc2a9-9bef-4e5b-9e0f-2eff793d9eeb} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.203245 [ 1028 ] {4b39d2b6-2ae6-4879-896f-dbdf7ee30fb3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.207625 [ 1028 ] {4b39d2b6-2ae6-4879-896f-dbdf7ee30fb3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.219807 [ 1028 ] {fb877ee4-0e8a-43fb-af2c-9446aad3bff9} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.232501 [ 1028 ] {fb877ee4-0e8a-43fb-af2c-9446aad3bff9} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x126ba1a9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x1268997a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x126883ee in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:55:52.252507 [ 1028 ] {34934e24-2225-4f02-a66d-7fd09aed6aab} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.256829 [ 1028 ] {34934e24-2225-4f02-a66d-7fd09aed6aab} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.601221 [ 1028 ] {dde30635-d08f-46cd-8cdb-811dc7b645c3} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:52.620461 [ 1028 ] {dde30635-d08f-46cd-8cdb-811dc7b645c3} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:52.663847 [ 1028 ] {e920ab54-5fe7-478a-84b6-e773e19f31c4} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:52.672936 [ 1028 ] {e920ab54-5fe7-478a-84b6-e773e19f31c4} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x1268766a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:52.703096 [ 1028 ] {5da4cf77-7c1d-48c4-b2a9-e48fb54d4e90} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:52.834781 [ 1028 ] {5da4cf77-7c1d-48c4-b2a9-e48fb54d4e90} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:53.280517 [ 1028 ] {117b56cd-1c8d-4ee2-991b-a60f3d032840} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12687fca in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:53.496457 [ 1028 ] {117b56cd-1c8d-4ee2-991b-a60f3d032840} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12687fca in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:53.497788 [ 1026 ] {d76eeec0-73cb-4edc-b206-7f14183bc01b} executeQuery: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_10j1dqvs.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:53.505057 [ 1026 ] {d76eeec0-73cb-4edc-b206-7f14183bc01b} TCPHandler: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:53.507583 [ 1028 ] {985278b9-1803-4b6a-860d-6cf987f99091} executeQuery: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12687fca in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:53.513194 [ 1028 ] {985278b9-1803-4b6a-860d-6cf987f99091} TCPHandler: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x126b932d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x12687fca in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x126814af in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 12:55:53.872193 [ 1028 ] {f6737c4b-cf11-4b8c-b501-d47a678e53df} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:53.873810 [ 1028 ] {f6737c4b-cf11-4b8c-b501-d47a678e53df} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x126b8870 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12681a37 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:55:53.877551 [ 1030 ] {f36c3ff9-e189-4dea-bad7-746d03b5f0f2} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/69c/69c5a2b0-8cc3-432d-9e06-0f344d753835/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50328) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208748 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:399: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202293 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:53.885722 [ 1030 ] {f36c3ff9-e189-4dea-bad7-746d03b5f0f2} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/69c/69c5a2b0-8cc3-432d-9e06-0f344d753835/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208748 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:399: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202293 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:53.918916 [ 1026 ] {6a03ff27-97e2-48c9-8570-af1199ee15a2} executeQuery: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_10j1dqvs.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:53.922591 [ 1026 ] {6a03ff27-97e2-48c9-8570-af1199ee15a2} TCPHandler: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:54.208374 [ 1030 ] {36f97ade-fb4c-4f55-9a85-666ca25f4375} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/69c/69c5a2b0-8cc3-432d-9e06-0f344d753835/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50328) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208748 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:54.221031 [ 1030 ] {36f97ade-fb4c-4f55-9a85-666ca25f4375} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/69c/69c5a2b0-8cc3-432d-9e06-0f344d753835/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208748 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:54.901854 [ 1026 ] {ef794f77-bc5f-427a-8a88-3fcc144e9085} executeQuery: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_10j1dqvs.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:54.902865 [ 1026 ] {ef794f77-bc5f-427a-8a88-3fcc144e9085} TCPHandler: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:54.903947 [ 1027 ] {6f51601b-92f3-490d-a5a6-54f7cf0d9c72} executeQuery: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50220) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed((0, 0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKey(DB::ColumnWithTypeAndName const&) @ 0xcf50a5f in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eae62 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eab9e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:55:54.904928 [ 1027 ] {6f51601b-92f3-490d-a5a6-54f7cf0d9c72} TCPHandler: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKey(DB::ColumnWithTypeAndName const&) @ 0xcf50a5f in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eae62 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eab9e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:55:55.212409 [ 1030 ] {afe68843-1663-4d28-bae3-d65722a43860} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/b43/b43d0f50-34c7-403d-8550-bbd9d2d08d92/shard1_replica1/2.bin. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50328) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x1f213387 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:124: DB::DistributedAsyncInsertBatch::send() @ 0x1f210c76 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x1f20746c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:402: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f2021b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.573724 [ 1030 ] {afe68843-1663-4d28-bae3-d65722a43860} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/b43/b43d0f50-34c7-403d-8550-bbd9d2d08d92/shard1_replica1/2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x1f213387 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:124: DB::DistributedAsyncInsertBatch::send() @ 0x1f210c76 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x1f20746c in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:402: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f2021b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.575201 [ 1027 ] {69425aab-0935-4c7d-bcff-378336b1af56} executeQuery: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50220) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed(toUInt64(0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKey(DB::ColumnWithTypeAndName const&) @ 0xcf509a9 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eae62 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eab9e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:55:55.581713 [ 1027 ] {69425aab-0935-4c7d-bcff-378336b1af56} TCPHandler: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKey(DB::ColumnWithTypeAndName const&) @ 0xcf509a9 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eae62 in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd0eab9e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:55:55.596354 [ 1026 ] {1178dd8f-a9e6-44b4-8c87-eed4080d4916} executeQuery: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_10j1dqvs.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.600152 [ 1026 ] {1178dd8f-a9e6-44b4-8c87-eed4080d4916} TCPHandler: Code: 60. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.919362 [ 1030 ] {eede9370-7fbd-4b8b-9141-da72a4ccf177} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/b43/b43d0f50-34c7-403d-8550-bbd9d2d08d92/shard1_replica1//2.bin. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50328) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x1f213387 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:124: DB::DistributedAsyncInsertBatch::send() @ 0x1f210c76 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x1f204b80 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:402: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f2021b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.926885 [ 1030 ] {eede9370-7fbd-4b8b-9141-da72a4ccf177} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_10j1dqvs.underlying doesn't exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/b43/b43d0f50-34c7-403d-8550-bbd9d2d08d92/shard1_replica1//2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x1f215a3e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x1f213387 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:124: DB::DistributedAsyncInsertBatch::send() @ 0x1f210c76 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x1f204b80 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:402: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f2021b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:55.993276 [ 1030 ] {767fbba4-f0c6-4f57-b587-ccad9b65c038} test_10j1dqvs.dist.DirectoryMonitor.default: File /var/lib/clickhouse/store/b43/b43d0f50-34c7-403d-8550-bbd9d2d08d92/shard1_replica1/2.bin does not exists, likely due to current_batch.txt processing 2024.03.19 12:55:57.912319 [ 1030 ] {bd57ff1f-a40e-4eff-a204-d8d5109839e4} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59624) (comment: 02527_storage_merge_prewhere_different_type.sql) (in query: SELECT Val FROM merge1 PREWHERE Val = 65536 OR Val = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x1e0c4a5e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:823: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0bb90a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:57.913917 [ 1030 ] {bd57ff1f-a40e-4eff-a204-d8d5109839e4} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x1e0c4a5e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:823: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0bb90a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.152760 [ 1028 ] {b94df22b-86c5-48a5-9053-76205ca043a5} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59662) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', (foobar));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.153883 [ 1028 ] {b94df22b-86c5-48a5-9053-76205ca043a5} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.159966 [ 1028 ] {598a5e68-0bae-4e6a-bf17-8fe54adf56b7} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59662) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', '(SELECT 1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.160900 [ 1028 ] {598a5e68-0bae-4e6a-bf17-8fe54adf56b7} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.167214 [ 1028 ] {9cd7293c-a6b0-4d09-bcf6-349352c95560} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59662) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:55:59.168099 [ 1028 ] {9cd7293c-a6b0-4d09-bcf6-349352c95560} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x1ec4202f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec42820 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:01.044885 [ 1030 ] {a266d1c6-9d7d-4c7f-882a-55f3725017c2} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59762) (comment: 02502_bad_values_schema_inference.sql) (in query: desc format(Values, '(\'abc)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x1fc30f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x1fa6cb70 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x1c2302f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:01.045906 [ 1030 ] {a266d1c6-9d7d-4c7f-882a-55f3725017c2} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x1fc30f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x1fa6cb70 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x1c2302f2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:01.281118 [ 1030 ] {23d299ea-720d-4393-bd81-7fb9c0c6025d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59784) (comment: 02501_limits_on_result_for_view.sql) (in query: -- test SELECT * from 02501_view settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:01.285310 [ 1030 ] {23d299ea-720d-4393-bd81-7fb9c0c6025d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:01.457310 [ 649 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47268). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:56:02.367093 [ 2714 ] {a6cb3fa2-c998-484e-91f7-e4b6da911556} executeQuery: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59852) (comment: 02514_database_replicated_no_arguments_for_rmt.sh) (in query: CREATE TABLE test_84ck00nh_db.tab_rmt_fail (`x` UInt32) ENGINE = ReplicatedMergeTree('/clickhouse/tables/02514_database_replicated_no_arguments_for_rmt_test_84ck00nh/root/{shard}', '{replica}') ORDER BY x SETTINGS index_granularity = 23737, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9858, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1952131899, index_granularity_bytes = 19163539), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [244]) @ 0x1cf230c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x1cf0a4b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:654: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1cf0a906 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90b03 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:02.368237 [ 2714 ] {a6cb3fa2-c998-484e-91f7-e4b6da911556} TCPHandler: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [244]) @ 0x1cf230c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x1cf0a4b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:654: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1cf0a906 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90b03 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:04.132779 [ 1030 ] {3d68577d-abae-442b-9c0b-097cfe0aad0a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59956) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:04.133856 [ 1030 ] {3d68577d-abae-442b-9c0b-097cfe0aad0a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:09.004117 [ 1028 ] {e23d24c6-ee12-4659-92d6-934c6a06cebd} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42578) (comment: 02481_analyzer_join_alias_unknown_identifier_crash.sql) (in query: SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x1e00ea79 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd07fa in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:09.350395 [ 1028 ] {e23d24c6-ee12-4659-92d6-934c6a06cebd} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x1e00ea79 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd07fa in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:09.350563 [ 2732 ] {99ef78d8-4819-4f2f-af84-bea3b6dfcfd0} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42618) (comment: 02481_prewhere_filtered_rows_div_by_zero.sql) (in query: -- Check that division by zero occurs on some rows SELECT intDiv(b, c) FROM test_filter;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10312eb1 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x10548651 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10542a28 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8dba in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:09.352166 [ 2732 ] {99ef78d8-4819-4f2f-af84-bea3b6dfcfd0} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10312eb1 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x10548651 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10542a28 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8dba in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:11.712038 [ 3821 ] {da2a3b62-27cb-4e64-aa78-0b2782c78f54} executeQuery: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42790) (comment: 02478_factorial.sql) (in query: select factorial(100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0xe3e6322 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf03f92a in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf03f605 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0xf03e898 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03d98b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:56:11.713271 [ 3821 ] {da2a3b62-27cb-4e64-aa78-0b2782c78f54} TCPHandler: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0xe3e6322 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf03f92a in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf03f605 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0xf03e898 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03d98b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:56:12.144620 [ 3821 ] {84e18d8d-8c0d-4060-833e-8d595083a4d8} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42790) (comment: 02478_factorial.sql) (in query: select factorial('100');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf044fe5 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf03dcd6 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 12:56:12.145763 [ 3821 ] {84e18d8d-8c0d-4060-833e-8d595083a4d8} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf044fe5 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf03dcd6 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 12:56:12.567348 [ 3821 ] {60bbf9f9-cad1-47e5-8a60-4ffd8bddf8b4} executeQuery: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42790) (comment: 02478_factorial.sql) (in query: select factorial(100.1234);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0xca0c362 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf043bdb in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf0439e5 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0xf03f4b5 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03d98b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:56:12.568567 [ 3821 ] {60bbf9f9-cad1-47e5-8a60-4ffd8bddf8b4} TCPHandler: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0xca0c362 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf043bdb in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0xf0439e5 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0xf03f4b5 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03d98b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 12:56:14.177919 [ 3821 ] {a3571aef-28b8-4dcc-9fbb-0254009c0865} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.179176 [ 3821 ] {a3571aef-28b8-4dcc-9fbb-0254009c0865} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.185292 [ 3821 ] {62026d22-4ec4-41ca-9271-d778e2a41ae8} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.186090 [ 3821 ] {62026d22-4ec4-41ca-9271-d778e2a41ae8} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.191150 [ 3821 ] {98a53702-8428-4a3e-ba5f-9dab2e5988ed} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.192041 [ 3821 ] {98a53702-8428-4a3e-ba5f-9dab2e5988ed} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.479052 [ 3821 ] {9c42ec14-4e2c-4967-b64c-c9d3fba61a6a} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.480164 [ 3821 ] {9c42ec14-4e2c-4967-b64c-c9d3fba61a6a} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.486340 [ 3821 ] {c54007e4-efd9-46f3-b13c-cb9a0e915f8c} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.487149 [ 3821 ] {c54007e4-efd9-46f3-b13c-cb9a0e915f8c} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.493625 [ 3821 ] {53277721-bb77-4655-aff4-311648567fa1} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.494747 [ 3821 ] {53277721-bb77-4655-aff4-311648567fa1} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.502081 [ 3821 ] {1cf18fb4-dd82-443a-bef7-e31e212955b6} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.503220 [ 3821 ] {1cf18fb4-dd82-443a-bef7-e31e212955b6} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.510124 [ 3821 ] {3c902503-7d63-435b-9eda-a37cf17183d8} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.511639 [ 3821 ] {3c902503-7d63-435b-9eda-a37cf17183d8} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.518155 [ 3821 ] {26c7a4ca-bf44-4bb2-b555-1c2ca6898ca0} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.519348 [ 3821 ] {26c7a4ca-bf44-4bb2-b555-1c2ca6898ca0} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7c5fc in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df737ec in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df76443 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x1df7380c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x1df7349f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e124215 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.527217 [ 3821 ] {e30758c4-9884-4454-826c-15046249b917} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.528321 [ 3821 ] {e30758c4-9884-4454-826c-15046249b917} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.536035 [ 3821 ] {a4dfe933-f080-4735-bdae-ce1f47f13ddc} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.536883 [ 3821 ] {a4dfe933-f080-4735-bdae-ce1f47f13ddc} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.542964 [ 3821 ] {ff9e7f20-afb3-4122-ba6f-1fd495417d51} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:14.544050 [ 3821 ] {ff9e7f20-afb3-4122-ba6f-1fd495417d51} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb4649 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.361767 [ 4103 ] {e4e46bea-718a-4889-bd9f-881c3ab2d72a} executeQuery: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52834) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.363322 [ 4103 ] {e4e46bea-718a-4889-bd9f-881c3ab2d72a} TCPHandler: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.414174 [ 4103 ] {9623faef-56a7-40b6-899d-56dc82623eb9} executeQuery: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52834) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.415297 [ 4103 ] {9623faef-56a7-40b6-899d-56dc82623eb9} TCPHandler: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.818598 [ 3821 ] {a91e4b3e-edef-47fe-94dd-4abaf7b1a769} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52886) (comment: 02463_julian_day_ubsan.sql) (in query: SELECT fromModifiedJulianDay(9223372036854775807 :: Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. DB::OrdinalDate::OrdinalDate(long) @ 0xf0e0805 in /usr/bin/clickhouse 4. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0e033d in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:56:15.818662 [ 4103 ] {409b8eb5-0a67-4f2c-b007-d680b09f040c} executeQuery: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52834) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.820113 [ 3821 ] {a91e4b3e-edef-47fe-94dd-4abaf7b1a769} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. DB::OrdinalDate::OrdinalDate(long) @ 0xf0e0805 in /usr/bin/clickhouse 4. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0e033d in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:56:15.820252 [ 4103 ] {409b8eb5-0a67-4f2c-b007-d680b09f040c} TCPHandler: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.872388 [ 4103 ] {619aeeaa-7a2e-4f9d-a56f-aa29461ddc97} executeQuery: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52834) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:15.873330 [ 4103 ] {619aeeaa-7a2e-4f9d-a56f-aa29461ddc97} TCPHandler: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x1f56bc9c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x1f5722ef in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:187: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x1fee8fed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x1f483469 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x1f468906 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x1f4657f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1f741cba in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:16.589673 [ 4229 ] {d7aef3ff-c28c-41b5-a551-6df599a44722} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52958) (in query: SELECT * from format('TSV', '123')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6cb8cf in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c9b20 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612478 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:16.591782 [ 4229 ] {d7aef3ff-c28c-41b5-a551-6df599a44722} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6cb8cf in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c9b20 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612478 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:17.185122 [ 4103 ] {1110046e-fb58-4c29-8c7c-5e0b6cf51cce} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53020) (in query: INSERT INTO FUNCTION null('x String') (x) FORMAT TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6cb8cf in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c9b20 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612478 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:97: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08c60e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:17.186600 [ 4103 ] {1110046e-fb58-4c29-8c7c-5e0b6cf51cce} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6cb8cf in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c9b20 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612478 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:97: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08c60e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:18.175061 [ 4103 ] {2f91b3c1-95ad-4e6a-81df-5e35c22c2d7f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53116) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:18.176568 [ 4103 ] {2f91b3c1-95ad-4e6a-81df-5e35c22c2d7f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:22.392298 [ 833 ] {} test_tv551f53.rmt2 (8d5198b0-70cb-4f51-bef9-c4aa5c2c4ecb): Metadata version (2) on replica is not up to date with metadata (1) on source replica 1 2024.03.19 12:56:22.436291 [ 914 ] {} test_tv551f53.rmt2 (8d5198b0-70cb-4f51-bef9-c4aa5c2c4ecb): Attempt to update metadata of version 2 to older version 1 when processing log entry queue-0000000000: format version: 4 create_time: 2024-03-19 12:56:22 source replica: 1 block_id: alter alter_version 1 have_mutation 0 columns_str_size: 69 columns format version: 1 3 columns: `n` Int32 `m` Int32 `k` UInt128 metadata_str_size: 190 metadata format version: 1 date column: sampling expression: index granularity: 45376 mode: 0 sign column: primary key: data format version: 1 partition key: granularity bytes: 2201774 2024.03.19 12:56:27.986447 [ 4103 ] {5da036f3-f2ea-48cb-98b9-54af1b087f00} executeQuery: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33934) (comment: 02426_create_suspicious_fixed_string.sql) (in query: CREATE TABLE suspicious_fixed_string (`id` UInt64, `s` FixedString(257)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 50886, min_bytes_for_wide_part = 991350721, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 22945, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11005876), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x1de9fb2a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x1de8cecd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:794: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de872a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:27.987845 [ 4103 ] {5da036f3-f2ea-48cb-98b9-54af1b087f00} TCPHandler: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x1de9fb2a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x1de8cecd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:794: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de872a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:28.907196 [ 4619 ] {3027272e-19b6-4bc6-a020-3d2944a4167f} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34004) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1868767d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c60954c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:28.908806 [ 4619 ] {3027272e-19b6-4bc6-a020-3d2944a4167f} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1868767d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c60954c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:29.047868 [ 4619 ] {fdea490a-726c-48eb-a1ed-844ef6157a88} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34004) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1868767d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c60954c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:29.050330 [ 4619 ] {fdea490a-726c-48eb-a1ed-844ef6157a88} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1868767d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c60954c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:32.103060 [ 1029 ] {test_in4iu993_test_02585_query_to_kill_id_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49986) (comment: 02585_query_status_deadlock.sh) (in query: select * from remote('127.0.0.2', 'system.numbers_mt') where number in (select * from tmp);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:850: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f8047cf in /usr/bin/clickhouse 7. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:32.335707 [ 3821 ] {8fdde63c-2e84-4bc5-b17b-8d4ff58ffd18} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56414) (comment: 02585_query_status_deadlock.sh) (in query: SELECT `number` FROM `system`.`numbers_mt` WHERE `number` IN ((SELECT * FROM `tmp`) AS `_subquery10`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:32.336319 [ 1029 ] {test_in4iu993_test_02585_query_to_kill_id_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:850: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f8047cf in /usr/bin/clickhouse 7. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:32.337352 [ 3821 ] {8fdde63c-2e84-4bc5-b17b-8d4ff58ffd18} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:32.338236 [ 3821 ] {8fdde63c-2e84-4bc5-b17b-8d4ff58ffd18} TCPHandler: Client has gone away. 2024.03.19 12:56:38.057850 [ 4593 ] {7e3b77b8-b97e-4f2f-9d93-21c73b141404} executeQuery: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46472) (comment: 02419_contingency_array_nullable.sql) (in query: SELECT contingency(1, [1, NULL]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::getDataAt(unsigned long) const @ 0x1e68e3bd in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:50: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x182e32cf in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x182e3b73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:1376: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x1d46f17d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d395891 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:38.060233 [ 4593 ] {7e3b77b8-b97e-4f2f-9d93-21c73b141404} TCPHandler: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::getDataAt(unsigned long) const @ 0x1e68e3bd in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:50: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x182e32cf in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x182e3b73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:1376: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x1d46f17d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d395891 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:42.387551 [ 3821 ] {67718c3d-c306-4b1a-98d7-fa0c05eb3d0d} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46902) (comment: 02411_legacy_geobase.sql) (in query: SELECT regionToName(number::UInt32, 'xy') FROM numbers(13);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0xcee6739 in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcee51f1 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:42.389234 [ 3821 ] {67718c3d-c306-4b1a-98d7-fa0c05eb3d0d} TCPHandler: Code: 1000. DB::Exception: Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0xcee6739 in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcee51f1 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:48.261342 [ 4618 ] {c1feb699-6e24-4fc0-949c-bdcf6533b5d8} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.262826 [ 4618 ] {c1feb699-6e24-4fc0-949c-bdcf6533b5d8} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.736711 [ 4618 ] {a2d1231d-2478-464b-ac7b-606799b05f00} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.738607 [ 4618 ] {a2d1231d-2478-464b-ac7b-606799b05f00} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.746880 [ 4618 ] {8224ec99-8673-4f79-a3d6-f7d8924eb1e0} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.748307 [ 4618 ] {8224ec99-8673-4f79-a3d6-f7d8924eb1e0} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.755759 [ 4618 ] {4ad5ec46-f873-4f62-ae6e-6535323f8820} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.756906 [ 4618 ] {4ad5ec46-f873-4f62-ae6e-6535323f8820} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.766310 [ 4618 ] {885bed62-c492-4f75-864b-526fa20fac2d} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.767427 [ 4618 ] {885bed62-c492-4f75-864b-526fa20fac2d} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.775626 [ 4618 ] {c465ccb1-c9b1-4809-843d-adc10e0de2cd} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.776960 [ 4618 ] {c465ccb1-c9b1-4809-843d-adc10e0de2cd} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.784889 [ 4618 ] {a586ceb1-c5dd-4673-a784-66ec29ed2cfc} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.111a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.786635 [ 4618 ] {a586ceb1-c5dd-4673-a784-66ec29ed2cfc} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.794816 [ 4618 ] {48dfda94-9929-46d4-808e-f56db3b06ce8} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.2b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.796194 [ 4618 ] {48dfda94-9929-46d4-808e-f56db3b06ce8} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.804132 [ 4618 ] {aed0fe58-137c-4e5e-9a75-ee1079ba6d86} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.805760 [ 4618 ] {aed0fe58-137c-4e5e-9a75-ee1079ba6d86} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.814982 [ 4618 ] {629b818c-0d6c-4800-ab81-387cc6f46ad2} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50362) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:48.816636 [ 4618 ] {629b818c-0d6c-4800-ab81-387cc6f46ad2} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc96842b in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc957fe9 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc956d05 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc955f60 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:56:49.540938 [ 4615 ] {73ebc5da-537a-44d3-b20e-5993ed927e27} executeQuery: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50518) (comment: 02379_analyzer_subquery_depth.sql) (in query: SELECT (SELECT a FROM (SELECT 1 AS a)) SETTINGS max_subquery_depth = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6541: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb46da in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbbf18 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc40ce in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbbf18 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:49.542122 [ 4615 ] {73ebc5da-537a-44d3-b20e-5993ed927e27} TCPHandler: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6541: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb46da in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbbf18 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc40ce in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbbf18 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:50.625171 [ 797 ] {} ViewDeps: Found table test_edfiumic.test_race_condition_mv_ (22077168-d80d-4305-9d0f-4d15ce44a186) in the graph with unexpected UUID 9d0c8479-82ad-4012-9cc3-44492f89bf54 2024.03.19 12:56:50.758333 [ 4229 ] {49687c75-8f1b-4ea8-a602-69df076a7993} PushingToViews: Trying to access table test_edfiumic.test_race_condition_mv1_ but it doesn't exist 2024.03.19 12:56:53.356569 [ 4616 ] {22a46c18-e230-4162-9dae-99fe0e2c1a05} executeQuery: Code: 456. DB::Exception: Query parameter `n` was not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50956) (in query: select {n: UInt8} -- { serverError 456 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e53ab0c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x1e53af16 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e539937 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bc7f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:53.358172 [ 4616 ] {22a46c18-e230-4162-9dae-99fe0e2c1a05} TCPHandler: Code: 456. DB::Exception: Query parameter `n` was not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e53ab0c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x1e53af16 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e539937 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bc7f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.466291 [ 4616 ] {02366_5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51084) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_5.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.511079 [ 4616 ] {02366_5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.665970 [ 649 ] {02366_8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51116) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_8.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.704445 [ 649 ] {02366_8} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.808860 [ 1030 ] {02366_2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51158) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_2.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.845340 [ 1030 ] {02366_2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.865591 [ 4071 ] {02366_3} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51146) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_3.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.896324 [ 2732 ] {02366_4} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51156) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_4.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.908876 [ 4071 ] {02366_3} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.954870 [ 2732 ] {02366_4} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:57.989135 [ 4070 ] {02366_10} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51132) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_10.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.024411 [ 4070 ] {02366_10} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.066302 [ 4617 ] {02366_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51092) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_1.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.112468 [ 4617 ] {02366_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.149903 [ 4074 ] {02366_6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51074) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_6.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.195025 [ 4074 ] {02366_6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.217206 [ 4593 ] {02366_7} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51174) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_7.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.248117 [ 4103 ] {02366_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51164) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_9.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.261640 [ 4593 ] {02366_7} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:58.308851 [ 4103 ] {02366_9} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:56:59.906995 [ 4103 ] {3528e08c-e002-4f50-963c-0f06f40b3c0f} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55792) (comment: 02357_file_default_value.sql) (in query: SELECT file('nonexistent.txt');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61c54 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:56:59.908606 [ 4103 ] {3528e08c-e002-4f50-963c-0f06f40b3c0f} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61c54 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:57:03.330762 [ 649 ] {02366_4} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55604) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_4.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:03.471590 [ 649 ] {02366_4} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:03.635135 [ 4617 ] {02366_2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55694) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_2.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:03.641180 [ 2732 ] {02366_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55724) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_1.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:03.792441 [ 4617 ] {02366_2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:03.830568 [ 2732 ] {02366_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.076262 [ 1030 ] {02366_6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55618) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_6.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.149669 [ 4070 ] {02366_3} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55686) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_3.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.166630 [ 1030 ] {02366_6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.200191 [ 6089 ] {02366_7} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55630) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_7.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.265751 [ 6089 ] {02366_7} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.289830 [ 4070 ] {02366_3} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.363583 [ 4074 ] {02366_8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55670) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_8.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.441061 [ 4074 ] {02366_8} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.570252 [ 6094 ] {02366_5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55646) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_5.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.681909 [ 6094 ] {02366_5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.923612 [ 4071 ] {02366_10} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55706) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_10.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:04.973094 [ 4071 ] {02366_10} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:05.030711 [ 6032 ] {02366_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55660) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_9.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:05.063046 [ 6032 ] {02366_9} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:07.086081 [ 4593 ] {14ab868f-eb4f-4998-af39-3f03c6821d4e} executeQuery: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47522) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT arrayMap(x -> compound_value.*, [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0xc9b1710 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbd50 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:07.088064 [ 4593 ] {14ab868f-eb4f-4998-af39-3f03c6821d4e} TCPHandler: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0xc9b1710 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbd50 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:07.500471 [ 4593 ] {c4057fa5-b917-471b-bc76-44bb4db30966} executeQuery: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47522) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x1e016784 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dff9648 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbaab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:07.502945 [ 4593 ] {c4057fa5-b917-471b-bc76-44bb4db30966} TCPHandler: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x1e016784 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dff9648 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbaab8 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:08.456068 [ 6032 ] {596c1932-3be6-421f-8274-f14cda07ebf7} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47626) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT a AS b, b AS a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:08.457826 [ 6032 ] {596c1932-3be6-421f-8274-f14cda07ebf7} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:08.929104 [ 6032 ] {25947666-ab33-4fae-9922-767d806cd908} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47626) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (id + b) AS id, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:08.930443 [ 6032 ] {25947666-ab33-4fae-9922-767d806cd908} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:09.355215 [ 6032 ] {bd50aa9b-6711-4aba-8053-a5c8e32618e2} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47626) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (1 + b + 1 + id) AS id, b as c, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 2024.03.19 12:57:09.356798 [ 6032 ] {bd50aa9b-6711-4aba-8053-a5c8e32618e2} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfd05c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcf5d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd16d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbb79d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 2024.03.19 12:57:10.405475 [ 1030 ] {25c8fb9a-49ba-42a6-99c0-83d770035bc4} executeQuery: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47630) (comment: 02337_base58.sql) (in query: SELECT base58Encode('Hold my beer...', 'Second arg');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:10.406796 [ 1030 ] {25c8fb9a-49ba-42a6-99c0-83d770035bc4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:11.038277 [ 1030 ] {150f1bbb-1b46-499d-b4c7-e89b81d97883} executeQuery: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47630) (comment: 02337_base58.sql) (in query: SELECT base58Decode('Hold my beer...');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0xc6ae402 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xdab4ea6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:57:11.041548 [ 1030 ] {150f1bbb-1b46-499d-b4c7-e89b81d97883} TCPHandler: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0xc6ae402 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xdab4ea6 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:57:14.172522 [ 6032 ] {67235553-a294-4b50-874a-ccb4ba1e8b8c} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47712) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343efd4 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:14.174004 [ 6032 ] {67235553-a294-4b50-874a-ccb4ba1e8b8c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343efd4 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:14.186670 [ 6032 ] {29829a84-6975-415c-a1fa-22aaf8d67f6b} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47712) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343efd4 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:14.188755 [ 6032 ] {29829a84-6975-415c-a1fa-22aaf8d67f6b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343efd4 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:14.621476 [ 6032 ] {25a64346-46c1-42fe-b584-f067d40ba0fa} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47712) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343f2f6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:14.623976 [ 6032 ] {25a64346-46c1-42fe-b584-f067d40ba0fa} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343f2f6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:15.058179 [ 6032 ] {ae4c4c53-df8c-47a4-a3f2-0bb2ceac6b37} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47712) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343f47a in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:15.059742 [ 6032 ] {ae4c4c53-df8c-47a4-a3f2-0bb2ceac6b37} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x1343f47a in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:15.453264 [ 6032 ] {a9ab5bcc-ab41-4750-a315-ff2043fe6372} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47712) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1343e2ff in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:57:15.454831 [ 6032 ] {a9ab5bcc-ab41-4750-a315-ff2043fe6372} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1343e2ff in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 12:57:17.790313 [ 6089 ] {d05c29f5-5c51-4322-be99-7ed38523b15e} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33568) (comment: 02318_template_schema_inference_bug.sql) (in query: desc file('data_02318.tsv', 'Template') SETTINGS format_template_row='nonexist', format_template_resultset='nonexist';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x1fc1d1f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x1fc25b65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x1fc26073 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x1f962142 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x1f97b505 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x1f97b2e8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:781: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec480aa in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47819 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:17.791486 [ 6089 ] {d05c29f5-5c51-4322-be99-7ed38523b15e} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x1fc1d1f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x1fc25b65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x1fc26073 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x1f962142 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x1f97b505 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x1f97b2e8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:781: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec480aa in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47819 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:18.537818 [ 6089 ] {e4e8e0f1-f76c-481c-9c64-47013835e821} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33574) (comment: 02317_like_with_trailing_escape.sql) (in query: -- const pattern SELECT haystack LIKE 'pattern\\' from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b883a in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6ddb in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:18.539002 [ 6089 ] {e4e8e0f1-f76c-481c-9c64-47013835e821} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b883a in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6ddb in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:18.856887 [ 6089 ] {ab24d0de-e23a-40af-9c55-fd1111c7eb51} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33574) (comment: 02317_like_with_trailing_escape.sql) (in query: -- non-const pattern SELECT haystack LIKE pattern from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x112bba94 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x112bad8f in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b7e9f in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6d9b in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:18.858762 [ 6089 ] {ab24d0de-e23a-40af-9c55-fd1111c7eb51} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x112bba94 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x112bad8f in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b7e9f in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6d9b in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:19.507076 [ 6032 ] {73c873f7-7d18-4358-b302-450e0d3f3b68} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_e58x43ll.t_proj. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33552) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM t_proj WHERE a < 100;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x1e08a52a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:19.509102 [ 6032 ] {73c873f7-7d18-4358-b302-450e0d3f3b68} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_e58x43ll.t_proj. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x1e08a52a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:19.810987 [ 6032 ] {80160f8b-dffa-43e7-a7ed-ee1c1203425a} executeQuery: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33552) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM merge_table_standard_delete WHERE id = 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x18abe102 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:82: DB::InterpreterDeleteQuery::execute() @ 0x1e08a562 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:19.811998 [ 6032 ] {80160f8b-dffa-43e7-a7ed-ee1c1203425a} TCPHandler: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x18abe102 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:82: DB::InterpreterDeleteQuery::execute() @ 0x1e08a562 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:20.934127 [ 4070 ] {0a148640-d260-4a0b-959b-1c6bf4a7a368} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33700) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH ROLLUP;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1337: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c8a16 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:20.935212 [ 4070 ] {0a148640-d260-4a0b-959b-1c6bf4a7a368} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1337: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c8a16 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:20.944317 [ 4070 ] {91667a8c-fa26-45ca-93cf-9c432ae1797b} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33700) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH CUBE;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1337: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c8a16 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:20.945276 [ 4070 ] {91667a8c-fa26-45ca-93cf-9c432ae1797b} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1337: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c8a16 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:22.844008 [ 4071 ] {c2a48624-4244-4427-ad10-9a29a6cd3539} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33778) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_3i79fth0_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:22.846297 [ 4071 ] {c2a48624-4244-4427-ad10-9a29a6cd3539} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:23.411564 [ 4071 ] {c88646f4-655c-4a2f-80ea-775cc9ffbce3} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) To increase the maximum number of rows to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33800) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_3i79fth0_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:173: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f97a931 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:23.413620 [ 4071 ] {c88646f4-655c-4a2f-80ea-775cc9ffbce3} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) To increase the maximum number of rows to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:173: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f97a931 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:23.747112 [ 4070 ] {328a839a-dd87-4e61-ad5a-cb5eb2d74c95} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) To increase the maximum number of rows to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33816) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_3i79fth0_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:173: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f97a931 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:23.749536 [ 4070 ] {328a839a-dd87-4e61-ad5a-cb5eb2d74c95} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) To increase the maximum number of rows to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:173: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f97a931 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:25.047126 [ 6089 ] {290a97ef-751a-4b4d-a774-ba2127256301} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33840) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchAny(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ecbc18 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:25.048660 [ 6089 ] {290a97ef-751a-4b4d-a774-ba2127256301} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ecbc18 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:25.592597 [ 6089 ] {6a7d070f-4ec1-4399-b114-7f3d51acde04} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33840) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstIndex(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ed7b58 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:25.593945 [ 6089 ] {6a7d070f-4ec1-4399-b114-7f3d51acde04} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ed7b58 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:26.120871 [ 4070 ] {5f709ed8-a856-42e1-aeb9-16e2e3ef5a6f} executeQuery: Code: 43. DB::Exception: Third argument of function hashid must be UInt8, got String: While processing JSONExtractRaw(257, NULL), hashid(1024, if(rand() % 10, 'truetruetruetrue', NULL), 's3\0r3t'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60098) (comment: 02293_hashid.sql) (in query: -- https://github.com/ClickHouse/ClickHouse/issues/39672 SELECT JSONExtractRaw(257, NULL), hashid(1024, if(rand() % 10, 'truetruetruetrue', NULL), 's3\0r3t');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionHashID::getReturnTypeImpl(std::vector> const&) const @ 0xcc6664f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f764f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:26.517812 [ 6089 ] {d0dffbca-d6b7-42c3-a8a6-a586e5d4ad41} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33840) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstPosition(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ee5578 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:26.517931 [ 4070 ] {5f709ed8-a856-42e1-aeb9-16e2e3ef5a6f} TCPHandler: Code: 43. DB::Exception: Third argument of function hashid must be UInt8, got String: While processing JSONExtractRaw(257, NULL), hashid(1024, if(rand() % 10, 'truetruetruetrue', NULL), 's3\0r3t'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionHashID::getReturnTypeImpl(std::vector> const&) const @ 0xcc6664f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f764f in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:26.518957 [ 6089 ] {d0dffbca-d6b7-42c3-a8a6-a586e5d4ad41} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x11ee5578 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:30.584366 [ 4616 ] {ff20e34b-2c4f-46ef-8e8c-0501b26b5276} executeQuery: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60206) (comment: 02269_create_table_with_collation.sql) (in query: CREATE TABLE t_02267_collation (x varchar(255) COLLATE utf8_unicode_ci NOT NULL) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x1c730342 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:486: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de85abe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:30.586823 [ 4616 ] {ff20e34b-2c4f-46ef-8e8c-0501b26b5276} TCPHandler: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x1c730342 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:486: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de85abe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:31.232229 [ 4103 ] {1dd6c7a1-c3c2-44da-8081-35cb6bd6cd01} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60236) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonl');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x1fad7aff in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x1faf880d in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6df62 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:57:31.233398 [ 4103 ] {1dd6c7a1-c3c2-44da-8081-35cb6bd6cd01} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x1fad7aff in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x1faf880d in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6df62 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:57:31.602237 [ 4103 ] {5333aa69-d8fa-43a5-a1d1-ba85f3cad217} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60236) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonCompactEachRow');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x1fad88d1 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:207: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x1faeebf6 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:497: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x1fa81219 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x1fa6cb70 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x1fa7f84c in /usr/bin/clickhouse 9. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:31.603329 [ 4103 ] {5333aa69-d8fa-43a5-a1d1-ba85f3cad217} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x1fad88d1 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:207: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x1faeebf6 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:497: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x1fa81219 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x1fa6cb70 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x1fa7f84c in /usr/bin/clickhouse 9. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:35.216005 [ 6031 ] {adeac8f3-dea5-4540-a862-fd3847d8170f} executeQuery: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57194) (comment: 02250_hints_for_projections.sh) (in query: ALTER TABLE t DROP PROJECTION pToDro), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:389: DB::ProjectionsDescription::remove(String const&, bool) @ 0x1ebe9c57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:608: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66281 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:35.217896 [ 6031 ] {adeac8f3-dea5-4540-a862-fd3847d8170f} TCPHandler: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:389: DB::ProjectionsDescription::remove(String const&, bool) @ 0x1ebe9c57 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:608: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66281 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:35.816010 [ 4229 ] {49687c75-8f1b-4ea8-a602-69df076a7993} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50682). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50682) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 1817, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:35.994824 [ 1029 ] {e47433ae-b0a8-43ac-adc8-818bd03c6761} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50650). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50650) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 1894, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.199173 [ 4229 ] {49687c75-8f1b-4ea8-a602-69df076a7993} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50682). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:57:36.199316 [ 1029 ] {e47433ae-b0a8-43ac-adc8-818bd03c6761} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50650). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:57:36.199457 [ 4619 ] {cfa18e03-b111-4495-87f5-33796bd94016} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50712). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50712) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 2246, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.597793 [ 1030 ] {9f5ed962-9ff4-4cda-8b60-762fed523e2b} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.597814 [ 4615 ] {a53232c6-2f1a-437a-9e33-626f63aa7c83} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50634). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50634) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 1736, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.597870 [ 4619 ] {cfa18e03-b111-4495-87f5-33796bd94016} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50712). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:57:36.597922 [ 4229 ] {49687c75-8f1b-4ea8-a602-69df076a7993} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50682). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.597935 [ 1029 ] {e47433ae-b0a8-43ac-adc8-818bd03c6761} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50650). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.598504 [ 4619 ] {cfa18e03-b111-4495-87f5-33796bd94016} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50712). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.599010 [ 1030 ] {9f5ed962-9ff4-4cda-8b60-762fed523e2b} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.599045 [ 1029 ] {e47433ae-b0a8-43ac-adc8-818bd03c6761} TCPHandler: Client has gone away. 2024.03.19 12:57:36.599171 [ 4229 ] {49687c75-8f1b-4ea8-a602-69df076a7993} TCPHandler: Client has gone away. 2024.03.19 12:57:36.599236 [ 4619 ] {cfa18e03-b111-4495-87f5-33796bd94016} TCPHandler: Client has gone away. 2024.03.19 12:57:36.606917 [ 4615 ] {a53232c6-2f1a-437a-9e33-626f63aa7c83} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:50634). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:57:36.607373 [ 4615 ] {a53232c6-2f1a-437a-9e33-626f63aa7c83} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50634). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:36.608166 [ 4615 ] {a53232c6-2f1a-437a-9e33-626f63aa7c83} TCPHandler: Client has gone away. 2024.03.19 12:57:36.608719 [ 1030 ] {fe0895b4-e922-458e-8298-f3dbea43b9f2} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.610065 [ 1030 ] {fe0895b4-e922-458e-8298-f3dbea43b9f2} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.618904 [ 1030 ] {f1b2f69a-4517-4d8f-ac48-773b1eec6fb8} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.620339 [ 1030 ] {f1b2f69a-4517-4d8f-ac48-773b1eec6fb8} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.627637 [ 1030 ] {25bb950a-f49d-4683-942a-0b459f23604c} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.628710 [ 1030 ] {25bb950a-f49d-4683-942a-0b459f23604c} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.636126 [ 1030 ] {5bb28fbd-9b15-4d5a-b2ad-81751356a516} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.637101 [ 1030 ] {5bb28fbd-9b15-4d5a-b2ad-81751356a516} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.647997 [ 1030 ] {d213ba06-57e6-47ce-840a-ec5f65b3a8d9} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.649685 [ 1030 ] {d213ba06-57e6-47ce-840a-ec5f65b3a8d9} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.660308 [ 1030 ] {7a7e83f3-1335-43da-991b-3e33e98c94f0} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.662270 [ 1030 ] {7a7e83f3-1335-43da-991b-3e33e98c94f0} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.671156 [ 1030 ] {f33c5bdc-9639-4e53-901a-d47af9aea3f7} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.672295 [ 1030 ] {f33c5bdc-9639-4e53-901a-d47af9aea3f7} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.994974 [ 1030 ] {6c582b67-9b6e-48be-b4db-13182ef56cee} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate('1980', '10', '20');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:36.996373 [ 1030 ] {6c582b67-9b6e-48be-b4db-13182ef56cee} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.003263 [ 1030 ] {fec1f809-8f3e-4226-b504-6569774cc62a} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate('-1980', 3, 17);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.004540 [ 1030 ] {fec1f809-8f3e-4226-b504-6569774cc62a} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.011983 [ 1030 ] {76f1e395-044e-4036-82ab-6d652c0dde1a} executeQuery: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate('aa', 3, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.013353 [ 1030 ] {76f1e395-044e-4036-82ab-6d652c0dde1a} TCPHandler: Code: 43. DB::Exception: Argument 'year' for function makeDate must be a number: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.019961 [ 1030 ] {0b2ddf02-51ea-401f-a5a4-cb87372f6684} executeQuery: Code: 43. DB::Exception: Argument 'month' for function makeDate must be a number: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(1994, 'aa', 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.021020 [ 1030 ] {0b2ddf02-51ea-401f-a5a4-cb87372f6684} TCPHandler: Code: 43. DB::Exception: Argument 'month' for function makeDate must be a number: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.027752 [ 1030 ] {ba6e374d-b24f-4302-9519-6b5386ce348e} executeQuery: Code: 43. DB::Exception: Argument 'day' for function makeDate must be a number: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(1984, 3, 'aa');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.028891 [ 1030 ] {ba6e374d-b24f-4302-9519-6b5386ce348e} TCPHandler: Code: 43. DB::Exception: Argument 'day' for function makeDate must be a number: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::FunctionWithNumericParamsBase::checkRequiredArguments>(std::vector> const&, std::array const&, unsigned long) const @ 0x112d7e2f in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x112d7090 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:37.117075 [ 1030 ] {b5538e52-5f56-4743-b7fb-7fff7d15ad40} executeQuery: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 1, should be 3: While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(1980);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:37.118135 [ 1030 ] {b5538e52-5f56-4743-b7fb-7fff7d15ad40} TCPHandler: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 1, should be 3: While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:37.123866 [ 1030 ] {61312188-95ba-49ea-bf54-ae745282d748} executeQuery: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 2, should be 3: While processing makeDate(1980, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(1980, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:37.124949 [ 1030 ] {61312188-95ba-49ea-bf54-ae745282d748} TCPHandler: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 2, should be 3: While processing makeDate(1980, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:37.132904 [ 1030 ] {1bdbca83-5c5b-42e4-84fe-59848dcb0c61} executeQuery: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 4, should be 3: While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57214) (comment: 02242_make_date.sql) (in query: select makeDate(1980, 1, 1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:37.134364 [ 1030 ] {1bdbca83-5c5b-42e4-84fe-59848dcb0c61} TCPHandler: Code: 42. DB::Exception: Number of arguments for function makeDate doesn't match: passed 4, should be 3: While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:46.388536 [ 6032 ] {189e8af3-ac33-4de5-8b68-3a86b4450db0} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02232_allow_only_replicated_engine.sh) (in query: /* ddl_entry=query-0000000003 */ CREATE TABLE test_r457luat_db.tab_mt UUID '5d95724b-2bb9-49e7-80fe-1cfb1d5fbff8' (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 39627, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 13078, prefer_fetch_merged_part_size_threshold = 5339671732, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 19065260), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x1d1f5e82 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1438: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de98d1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x1cf3695f in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:663: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1cf0ae90 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90b03 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:46.394910 [ 6032 ] {189e8af3-ac33-4de5-8b68-3a86b4450db0} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48762) (comment: 02232_allow_only_replicated_engine.sh) (in query: CREATE TABLE test_r457luat_db.tab_mt (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 39627, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 13078, prefer_fetch_merged_part_size_threshold = 5339671732, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 19065260), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x1d1f5e82 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1438: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de98d1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x1cf3695f in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:663: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1cf0ae90 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90b03 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:46.397117 [ 6032 ] {189e8af3-ac33-4de5-8b68-3a86b4450db0} TCPHandler: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x1d1f5e82 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1438: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de98d1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x1cf3695f in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:663: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1cf0ae90 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90b03 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:47.295360 [ 6032 ] {a32d16d1-cabb-4c99-8525-62f4fb9087a0} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48842) (comment: 02212_h3_get_res0_indexes.sql) (in query: SELECT h3GetRes0Indexes(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:47.296852 [ 6032 ] {a32d16d1-cabb-4c99-8525-62f4fb9087a0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:49.179122 [ 6032 ] {a31ef838-32c6-492c-93d4-d22bc6c3eadd} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48928) (comment: 02200_use_skip_indexes.sql) (in query: SELECT * FROM data_02200 WHERE value = 1 SETTINGS use_skip_indexes=0, max_rows_to_read=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:49.180181 [ 6032 ] {a31ef838-32c6-492c-93d4-d22bc6c3eadd} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:49.444113 [ 4071 ] {52615056-28ea-48e0-ad50-af097f43a4a8} ReadWriteBufferFromHTTP: Unable to read with range header: [0, 2120] 2024.03.19 12:57:50.479878 [ 4617 ] {bc7640a3-adb4-4a03-9fe9-eab774739278} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:921: DB::InterpreterCreateQuery::setDefaultTableEngine(DB::ASTStorage&, std::shared_ptr) @ 0x1de8d732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8a954 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:50.480835 [ 4617 ] {bc7640a3-adb4-4a03-9fe9-eab774739278} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:921: DB::InterpreterCreateQuery::setDefaultTableEngine(DB::ASTStorage&, std::shared_ptr) @ 0x1de8d732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8a954 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:50.778779 [ 4617 ] {a9c8e9ed-d0fd-4843-9345-6a2439e544c3} executeQuery: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b527 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:50.779171 [ 4103 ] {f875241e-eaec-4c2c-bcf1-fb7dd9eb5315} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49060) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:50.779687 [ 4617 ] {a9c8e9ed-d0fd-4843-9345-6a2439e544c3} TCPHandler: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b527 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:50.781129 [ 4103 ] {f875241e-eaec-4c2c-bcf1-fb7dd9eb5315} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:51.062053 [ 4617 ] {1da065e1-ff69-4dbe-ba68-4f14ab20a6cc} executeQuery: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY tuple(). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8) PARTITION BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [156]) @ 0x1f73d882 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:536: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b2d4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:51.062994 [ 4617 ] {1da065e1-ff69-4dbe-ba68-4f14ab20a6cc} TCPHandler: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY tuple(). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [156]) @ 0x1f73d882 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:536: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b2d4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:51.477448 [ 4616 ] {277675b6-120b-4c79-9016-64a43c7372d6} executeQuery: Code: 36. DB::Exception: IOError: Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames: Cannot extract table structure from ORC format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49082) (comment: 02185_orc_corrupted_file.sh) (in query: select * from file('corrupted.orc')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/ORCBlockInputFormat.cpp:0: DB::getFileReaderAndSchema(DB::ReadBuffer&, std::unique_ptr>&, std::shared_ptr&, DB::FormatSettings const&, std::atomic&) @ 0x1fb2db4b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/ORCBlockInputFormat.cpp:0: DB::ORCSchemaReader::readSchema() @ 0x1fb2ddbc in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 12. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:51.569668 [ 4616 ] {277675b6-120b-4c79-9016-64a43c7372d6} TCPHandler: Code: 36. DB::Exception: IOError: Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames: Cannot extract table structure from ORC format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/ORCBlockInputFormat.cpp:0: DB::getFileReaderAndSchema(DB::ReadBuffer&, std::unique_ptr>&, std::shared_ptr&, DB::FormatSettings const&, std::atomic&) @ 0x1fb2db4b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/ORCBlockInputFormat.cpp:0: DB::ORCSchemaReader::readSchema() @ 0x1fb2ddbc in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x1ec49e3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x1c1eb467 in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x1c1e9432 in /usr/bin/clickhouse 12. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1ecd56 in /usr/bin/clickhouse 13. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:52.078720 [ 4617 ] {2228e07b-8dfb-4027-9740-c50a421598c9} executeQuery: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 ORDER BY kek;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7f52a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:52.691828 [ 4617 ] {2228e07b-8dfb-4027-9740-c50a421598c9} TCPHandler: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7f52a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:52.691798 [ 4071 ] {ba94faee-021b-4400-aed0-f0e97d0a69c3} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49098) (comment: 02179_map_cast_to_array.sql) (in query: WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, cast(value, type), cast(materialize(value), type);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcc4d175 in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcc4cbca in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcc4c03c in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcc4bd6a in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 2024.03.19 12:57:52.694459 [ 4071 ] {ba94faee-021b-4400-aed0-f0e97d0a69c3} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcc4d175 in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcc4cbca in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcc4c03c in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcc4bd6a in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 2024.03.19 12:57:52.969173 [ 4617 ] {10a623f4-169e-4bf8-bb59-e1a55820afdf} executeQuery: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 SETTINGS x=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c646067 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:624: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c644a1a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:225: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa35 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::executeForCurrentContext() @ 0x1e1862f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x1e186706 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59f424 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:52.970293 [ 4617 ] {10a623f4-169e-4bf8-bb59-e1a55820afdf} TCPHandler: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c646067 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:624: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c644a1a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:225: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa35 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::executeForCurrentContext() @ 0x1e1862f0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x1e186706 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59f424 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.304370 [ 4617 ] {6a5f3bce-30f2-4e0f-9970-a18d1b021c3e} executeQuery: Code: 80. DB::Exception: Invalid storage definition for temporary table. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int) ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:958: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8b67c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.305207 [ 4617 ] {6a5f3bce-30f2-4e0f-9970-a18d1b021c3e} TCPHandler: Code: 80. DB::Exception: Invalid storage definition for temporary table. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:958: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8b67c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.310098 [ 4617 ] {18dd16f7-01eb-4827-89ba-550f6a3ffad5} executeQuery: Code: 80. DB::Exception: Invalid storage definition for temporary table. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int, PRIMARY KEY (n));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:958: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8b67c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.310887 [ 4617 ] {18dd16f7-01eb-4827-89ba-550f6a3ffad5} TCPHandler: Code: 80. DB::Exception: Invalid storage definition for temporary table. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:958: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8b67c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.729441 [ 4617 ] {d66218e2-5553-4ad7-9b97-287c0cf65cdc} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:921: DB::InterpreterCreateQuery::setDefaultTableEngine(DB::ASTStorage&, std::shared_ptr) @ 0x1de8d732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8a954 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.729483 [ 4071 ] {b1ac03b2-5610-4f41-baf1-f3346b94ee2a} executeQuery: Code: 42. DB::Exception: Expected 2 columns as map's key and value, but found 1: While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f4c in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:53.730270 [ 4617 ] {d66218e2-5553-4ad7-9b97-287c0cf65cdc} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:921: DB::InterpreterCreateQuery::setDefaultTableEngine(DB::ASTStorage&, std::shared_ptr) @ 0x1de8d732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x1de8a954 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86179 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:53.730910 [ 4071 ] {b1ac03b2-5610-4f41-baf1-f3346b94ee2a} TCPHandler: Code: 42. DB::Exception: Expected 2 columns as map's key and value, but found 1: While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f4c in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:53.987854 [ 4617 ] {5f53633a-26d8-4a94-8025-c12198cf663d} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [KeeperMap, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49022) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem ORDER BY n AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4412f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:54.383277 [ 4617 ] {5f53633a-26d8-4a94-8025-c12198cf663d} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [KeeperMap, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4412f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:54.383330 [ 4071 ] {1470af51-a40c-46e6-a97e-c1467bb1c2c7} executeQuery: Code: 42. DB::Exception: Function mapApply needs at least 2 arguments, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x11381b57 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x11385a3f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:54.384740 [ 4071 ] {1470af51-a40c-46e6-a97e-c1467bb1c2c7} TCPHandler: Code: 42. DB::Exception: Function mapApply needs at least 2 arguments, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x11381b57 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x11385a3f in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:54.794326 [ 4071 ] {3f4e49c7-d08f-4cf8-8da5-e2ea5112f9b0} executeQuery: Code: 43. DB::Exception: Expected return type is tuple, got UInt8: While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f99 in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:54.795606 [ 4071 ] {3f4e49c7-d08f-4cf8-8da5-e2ea5112f9b0} TCPHandler: Code: 43. DB::Exception: Expected return type is tuple, got UInt8: While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f99 in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:54.806773 [ 4071 ] {eb25066a-09a5-436e-9d30-97dbaafcbd16} executeQuery: Code: 43. DB::Exception: Expected return type is tuple, got String: While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f99 in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:54.809675 [ 4071 ] {eb25066a-09a5-436e-9d30-97dbaafcbd16} TCPHandler: Code: 43. DB::Exception: Expected return type is tuple, got String: While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f99 in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:55.244363 [ 4071 ] {3c18cb61-c4ce-4f8b-ad11-6553fa0d24fc} executeQuery: Code: 43. DB::Exception: First argument for this overload of mapApply must be a function with 2 arguments, found Function(? -> ?) instead: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0xd869650 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1138676b in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:55.608654 [ 1030 ] {30dfe6aa-be9c-4255-845b-83f9aee9b352} executeQuery: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34148) (comment: 02163_shard_num.sql) (in query: SELECT _shard_num FROM remote('127.1', system.one) AS a INNER JOIN (SELECT _shard_num FROM system.one) AS b USING (dummy);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:55.608662 [ 4071 ] {3c18cb61-c4ce-4f8b-ad11-6553fa0d24fc} TCPHandler: Code: 43. DB::Exception: First argument for this overload of mapApply must be a function with 2 arguments, found Function(? -> ?) instead: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0xd869650 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1138676b in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:55.610088 [ 1030 ] {30dfe6aa-be9c-4255-845b-83f9aee9b352} TCPHandler: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:57:55.618618 [ 4071 ] {1e2835f9-c8aa-4f4c-902c-4fa98b5f3226} executeQuery: Code: 42. DB::Exception: Expected 2 columns as map's key and value, but found 3: While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f4c in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:55.619694 [ 4071 ] {1e2835f9-c8aa-4f4c-902c-4fa98b5f3226} TCPHandler: Code: 42. DB::Exception: Expected 2 columns as map's key and value, but found 3: While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::MapApplyImpl::getReturnType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x11386f4c in /usr/bin/clickhouse 4. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1138570a in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 12:57:56.053607 [ 4071 ] {ae776ca5-1ebf-4be2-b2d1-9a51d61674e3} executeQuery: Code: 42. DB::Exception: Function mapApply needs at least 1 argument with data: While processing mapApply((x, y) -> (x, x + 1)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11386637 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:56.054661 [ 4071 ] {ae776ca5-1ebf-4be2-b2d1-9a51d61674e3} TCPHandler: Code: 42. DB::Exception: Function mapApply needs at least 1 argument with data: While processing mapApply((x, y) -> (x, x + 1)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11386637 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:56.494895 [ 4071 ] {dd8dddf1-ee6a-4252-bdf3-d39b61d9a6f4} executeQuery: Code: 43. DB::Exception: Argument 2 of function mapApply must be Map. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const* const&, String&&) @ 0x113821c4 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x113863b7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:56.496418 [ 4071 ] {dd8dddf1-ee6a-4252-bdf3-d39b61d9a6f4} TCPHandler: Code: 43. DB::Exception: Argument 2 of function mapApply must be Map. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const* const&, String&&) @ 0x113821c4 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x113863b7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:56.949804 [ 4071 ] {0de1b00e-10c9-44e2-84e6-bc4bcf0c597b} executeQuery: Code: 42. DB::Exception: Function mapApply needs 1 argument with data: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x+1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11386709 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:56.951157 [ 4071 ] {0de1b00e-10c9-44e2-84e6-bc4bcf0c597b} TCPHandler: Code: 42. DB::Exception: Function mapApply needs 1 argument with data: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11386709 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:57.351307 [ 4071 ] {a0a796d5-6082-4003-b336-3b509f47ebff} executeQuery: Code: 42. DB::Exception: Function mapFilter needs at least 2 arguments, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x11381b57 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137f8e6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:57.352522 [ 4071 ] {a0a796d5-6082-4003-b336-3b509f47ebff} TCPHandler: Code: 42. DB::Exception: Function mapFilter needs at least 2 arguments, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x11381b57 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137f8e6 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:57.761654 [ 4071 ] {d8f69d62-4563-49ef-b694-bff47331ae18} executeQuery: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (toInt32(x)), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:57.763230 [ 4071 ] {d8f69d62-4563-49ef-b694-bff47331ae18} TCPHandler: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:57.773942 [ 4071 ] {cc8afe0d-de03-40ef-b017-093c93a671b6} executeQuery: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:57.775035 [ 4071 ] {cc8afe0d-de03-40ef-b017-093c93a671b6} TCPHandler: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:58.231387 [ 4071 ] {3460a102-ba3a-4192-9382-aad9b2b063b6} executeQuery: Code: 43. DB::Exception: First argument for this overload of mapFilter must be a function with 2 arguments, found Function(? -> ?) instead: While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0xd869650 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x113807cb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:58.234854 [ 4071 ] {3460a102-ba3a-4192-9382-aad9b2b063b6} TCPHandler: Code: 43. DB::Exception: First argument for this overload of mapFilter must be a function with 2 arguments, found Function(? -> ?) instead: While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0xd869650 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x113807cb in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:58.245619 [ 4071 ] {52ed49f3-a9e1-4fcb-8d04-e1b58661d382} executeQuery: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:58.247240 [ 4071 ] {52ed49f3-a9e1-4fcb-8d04-e1b58661d382} TCPHandler: Code: 43. DB::Exception: Expression for function mapFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1137fbf8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:57:58.924673 [ 4071 ] {d20e01ae-701c-48b4-9c9c-d0f7e3600021} executeQuery: Code: 42. DB::Exception: Function mapFilter needs at least 1 argument with data: While processing mapFilter((x, y) -> (x, x + 1)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380697 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:58.926534 [ 4071 ] {d20e01ae-701c-48b4-9c9c-d0f7e3600021} TCPHandler: Code: 42. DB::Exception: Function mapFilter needs at least 1 argument with data: While processing mapFilter((x, y) -> (x, x + 1)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380697 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:59.369504 [ 4071 ] {9d911256-fd55-4a1d-807a-83a57119ebda} executeQuery: Code: 43. DB::Exception: Argument 2 of function mapFilter must be Map. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const* const&, String&&) @ 0x113821c4 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380417 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:59.371019 [ 4071 ] {9d911256-fd55-4a1d-807a-83a57119ebda} TCPHandler: Code: 43. DB::Exception: Argument 2 of function mapFilter must be Map. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const* const&, String&&) @ 0x113821c4 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380417 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:59.798672 [ 4071 ] {902ed246-586c-4f25-9b66-904877b08141} executeQuery: Code: 42. DB::Exception: Function mapFilter needs 1 argument with data: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380769 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:59.799872 [ 4071 ] {902ed246-586c-4f25-9b66-904877b08141} TCPHandler: Code: 42. DB::Exception: Function mapFilter needs 1 argument with data: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, char const*&&) @ 0x11381f3a in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x11380769 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0xc68b8ba in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:449: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x1c5f7b74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cb8a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:57:59.806542 [ 4071 ] {4bbda0ba-f07b-4ad6-8b24-42d2737760f4} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:59.807532 [ 4071 ] {4bbda0ba-f07b-4ad6-8b24-42d2737760f4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:59.815367 [ 4071 ] {94d5208e-7516-41c7-8517-c132828257c0} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49134) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:57:59.816458 [ 4071 ] {94d5208e-7516-41c7-8517-c132828257c0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:58:08.144199 [ 4074 ] {} DynamicQueryHandler: Code: 115. DB::Exception: Setting input_format_with_names_use_headers is neither a builtin setting nor started with the prefix 'custom_' registered for user-defined settings: Maybe you meant ['input_format_with_names_use_header','input_format_with_types_use_header']. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c646067 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:624: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c644a1a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:225: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa35 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const @ 0x1c7baee4 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges&) const @ 0x1d1d2272 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c2067 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:35.054167 [ 1030 ] {0eabbd11-64a6-4fd9-8bc4-c493c84e482d} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59784) (comment: 02113_format_row_bug.sql) (in query: select formatRow('ORC', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.055059 [ 1030 ] {0eabbd11-64a6-4fd9-8bc4-c493c84e482d} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.062314 [ 1030 ] {2fdb804c-f11f-4553-a6b2-3e0aa8f6d45b} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59784) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Parquet', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.063000 [ 1030 ] {2fdb804c-f11f-4553-a6b2-3e0aa8f6d45b} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.069113 [ 1030 ] {687a35e5-6ac7-4270-a017-956a71bea121} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59784) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Arrow', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.069773 [ 1030 ] {687a35e5-6ac7-4270-a017-956a71bea121} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.075990 [ 1030 ] {70f28d3d-f10a-45be-9e98-5c691bf53405} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59784) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Native', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.076887 [ 1030 ] {70f28d3d-f10a-45be-9e98-5c691bf53405} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0cb5e4 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.969513 [ 1030 ] {ab718f22-99c9-4e32-9898-0c3173fb9847} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59824) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:125: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa99d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:35.970521 [ 1030 ] {ab718f22-99c9-4e32-9898-0c3173fb9847} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:125: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa99d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:36.224657 [ 1030 ] {9d0c0413-755f-421d-b6fa-7086a033856b} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59824) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:125: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa99d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:36.225571 [ 1030 ] {9d0c0413-755f-421d-b6fa-7086a033856b} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:125: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa99d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:36.881177 [ 1030 ] {550f55ec-a98e-4947-ac8b-b09eda80a260} executeQuery: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59824) (comment: 02112_with_fill_interval.sql) (in query: SELECT number FROM numbers(100) ORDER BY number WITH FILL STEP INTERVAL 1 HOUR;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa9f7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:36.882159 [ 1030 ] {550f55ec-a98e-4947-ac8b-b09eda80a260} TCPHandler: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x1feaa9f7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1fea5a36 in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc962ed in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1fea4d9a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:41.291092 [ 4618 ] {f91fbaa8-c9d4-4746-ba45-9f59c72bba63} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:41.292616 [ 4618 ] {f91fbaa8-c9d4-4746-ba45-9f59c72bba63} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:41.963381 [ 4618 ] {383f5f9a-f5a4-4208-b545-83772697b39e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:41.964423 [ 4618 ] {383f5f9a-f5a4-4208-b545-83772697b39e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:42.634533 [ 4618 ] {95869d24-2913-4d23-a10c-68b6dba152de} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:42.635312 [ 4618 ] {95869d24-2913-4d23-a10c-68b6dba152de} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:43.220854 [ 4618 ] {b10c1b8a-7390-462f-a96e-2f37f703aa04} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:43.221919 [ 4618 ] {b10c1b8a-7390-462f-a96e-2f37f703aa04} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:44.065575 [ 4618 ] {d6305315-b964-41e2-a98d-43039a17cf72} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:44.066428 [ 4618 ] {d6305315-b964-41e2-a98d-43039a17cf72} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:44.641365 [ 4618 ] {fd9923c5-717d-4807-be91-929392c5da21} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:44.642270 [ 4618 ] {fd9923c5-717d-4807-be91-929392c5da21} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:45.463464 [ 4618 ] {a462ae10-6939-4cc4-a703-088a537c7274} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:45.464523 [ 4618 ] {a462ae10-6939-4cc4-a703-088a537c7274} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:46.233573 [ 4074 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.03.19 12:58:46.237233 [ 1028 ] {0f5ccba2-300d-4f85-a06a-e2b87ea645b9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39174) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:46.238407 [ 1028 ] {0f5ccba2-300d-4f85-a06a-e2b87ea645b9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:46.247133 [ 1028 ] {a9826fd4-5bd7-4fc1-a550-78c108b9261f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39174) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:46.248210 [ 1028 ] {a9826fd4-5bd7-4fc1-a550-78c108b9261f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:46.496119 [ 4074 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTPHandler.cpp:528: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x1f8bcf25 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8be7d8 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:46.910955 [ 1028 ] {feb9c6be-8507-4c66-bb83-61e3ea2f994e} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39174) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE tuple(id, value) = tuple(value, id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:473: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e78 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc376e in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba86e2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1314: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x1fc8ed27 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:48: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x1feb4b2a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x1e0e0033 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x1e12fa5a in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x1e129ba5 in /usr/bin/clickhouse 18. ./build_docker/./src/Planner/Planner.cpp:997: DB::Planner::buildQueryPlanIfNeeded() @ 0x1e126764 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:246: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e1254ea in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 12:58:46.911140 [ 4618 ] {787631fd-dc76-4e66-891b-37c56152001d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:47.115822 [ 4074 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/HTTPHandler.cpp:528: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x1f8bcf25 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8be7d8 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:47.116248 [ 1028 ] {feb9c6be-8507-4c66-bb83-61e3ea2f994e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:473: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e78 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc376e in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba86e2 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1314: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x1fc8ed27 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:48: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x1feb4b2a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x1e0e0033 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:0: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x1e12fa5a in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x1e129ba5 in /usr/bin/clickhouse 18. ./build_docker/./src/Planner/Planner.cpp:997: DB::Planner::buildQueryPlanIfNeeded() @ 0x1e126764 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:246: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e1254ea in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 12:58:47.116272 [ 4618 ] {787631fd-dc76-4e66-891b-37c56152001d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:47.553111 [ 1028 ] {7ed46353-5b82-4558-a4d3-34d4c800e85d} executeQuery: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39174) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE equals((id, value));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:47.554560 [ 1028 ] {7ed46353-5b82-4558-a4d3-34d4c800e85d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd9b5c in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1813 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:47.897533 [ 4618 ] {61970183-9939-4af9-9f0f-2f83064d84a9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:47.899017 [ 4618 ] {61970183-9939-4af9-9f0f-2f83064d84a9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:48.330094 [ 1029 ] {9438dd6c-b541-4021-a53a-00ee3f6df163} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1069071 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39294) (comment: 02028_create_select_settings.sql) (in query: CREATE TABLE test_table ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 48272, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 21562, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 8726577218, index_granularity_bytes = 24202594 AS SELECT a_table.a, b_table.b_arr FROM (SELECT arrayJoin(range(10000)) AS a) AS a_table CROSS JOIN (SELECT range(10000) AS b_arr) AS b_table SETTINGS max_memory_usage = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x1477e53c in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:93: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x1477d7ba in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x148344c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x1cf7c082 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x1cf720b0 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x1f34a70b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:112: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73ea69 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:58:48.331423 [ 1029 ] {9438dd6c-b541-4021-a53a-00ee3f6df163} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1069071 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x1477e53c in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:93: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x1477d7ba in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x148344c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x1cf7c082 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:0: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x1cf720b0 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x1f34a70b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:112: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73ea69 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:58:48.583170 [ 4618 ] {8927cb35-ff4d-4c3d-8e93-e09e655a4276} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:48.584504 [ 4618 ] {8927cb35-ff4d-4c3d-8e93-e09e655a4276} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:49.298575 [ 4618 ] {e572617c-7c58-4471-bafb-f6d8f3dfd867} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:49.299523 [ 4618 ] {e572617c-7c58-4471-bafb-f6d8f3dfd867} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:49.896109 [ 4618 ] {5bb073bf-becf-4fab-8bae-129eb36d1ad9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:49.897035 [ 4618 ] {5bb073bf-becf-4fab-8bae-129eb36d1ad9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:50.804342 [ 4618 ] {6ade6fcb-a53d-4349-8b48-ffb3bc0a1e7f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:50.805315 [ 4618 ] {6ade6fcb-a53d-4349-8b48-ffb3bc0a1e7f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:54.083567 [ 4618 ] {921eca92-bbd2-49bf-a1e1-be373bc55ed2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:54.104412 [ 4618 ] {921eca92-bbd2-49bf-a1e1-be373bc55ed2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:57.138683 [ 4618 ] {04d9e185-7369-4fa4-bd30-199a1b6221dd} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:57.148321 [ 4618 ] {04d9e185-7369-4fa4-bd30-199a1b6221dd} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:59.204266 [ 2757 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_zxj72dq2.async_inserts FORMAT JSONEachRow': Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:59.235624 [ 4660 ] {b033854d-4e8c-4e96-a7f6-78286900a68e} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59028) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:59.242458 [ 11745 ] {92aa622f-6e6d-4c3a-a4e4-7788ad58a5c3} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59056) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:59.243856 [ 1030 ] {0a59e94b-755b-4004-837a-c77145ce0e60} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59044) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:58:59.248778 [ 4660 ] {b033854d-4e8c-4e96-a7f6-78286900a68e} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:59.308618 [ 1030 ] {0a59e94b-755b-4004-837a-c77145ce0e60} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:58:59.328401 [ 11745 ] {92aa622f-6e6d-4c3a-a4e4-7788ad58a5c3} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 159.00 B) in table 'test_zxj72dq2.async_inserts (5a956f2e-37ad-4157-8428-944e4d1da6d4)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x1f3f5297 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x1f3990fc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x1f778e56 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89ece in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8941a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18b678 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:01.694660 [ 4616 ] {ea9ed262-3b04-4963-b701-c1a43a2c3a42} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47070) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 1.3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:01.694826 [ 4618 ] {8cf5786d-4b21-431c-a9ec-383392defbab} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:01.909838 [ 2732 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x236c878a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9594 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x236dcd0b in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x236b0f5a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x1f954538 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x1f953415 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:01.910116 [ 4616 ] {ea9ed262-3b04-4963-b701-c1a43a2c3a42} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:01.910242 [ 4618 ] {8cf5786d-4b21-431c-a9ec-383392defbab} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:01.910421 [ 1025 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x236c878a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9594 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x236dcd0b in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x236b0f5a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x1f954538 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x1f953415 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:01.911166 [ 4617 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x236c878a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9594 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x236dcd0b in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x236b0f5a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x1f954538 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x1f953415 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:01.911551 [ 4593 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x236c878a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9594 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x236dcd0b in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x236b0f5a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x1f954538 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x1f953415 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.183854 [ 1030 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.184333 [ 4616 ] {72908b78-de81-442b-8135-fe1a882604cd} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47070) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, [1,2]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:02.184506 [ 649 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.185113 [ 12763 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.185747 [ 12093 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.186453 [ 12818 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.186977 [ 4101 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.187510 [ 12010 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.187980 [ 4068 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.188481 [ 11745 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.188998 [ 4229 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bb08 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:02.227471 [ 4616 ] {72908b78-de81-442b-8135-fe1a882604cd} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:02.234895 [ 4616 ] {2f616747-4b47-4a4b-8a52-470d699b6095} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47070) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 'a'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:02.236120 [ 4616 ] {2f616747-4b47-4a4b-8a52-470d699b6095} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1369032c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:02.596232 [ 4616 ] {75289c86-6d62-422e-acd5-1ce389168655} executeQuery: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47070) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(33);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1368ff10 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:02.597829 [ 4616 ] {75289c86-6d62-422e-acd5-1ce389168655} TCPHandler: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x1368ff10 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:03.206548 [ 4660 ] {27a54429-6aac-4549-8976-5516f278105a} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47212) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE rep_data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x1f3abcf7 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5069: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x1edcbe9a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1edf914c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:03.206645 [ 4618 ] {384801bf-66a1-41e3-baac-39f045cdbac5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:03.207897 [ 4660 ] {27a54429-6aac-4549-8976-5516f278105a} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x1f3abcf7 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5069: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x1edcbe9a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1edf914c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:03.208186 [ 4618 ] {384801bf-66a1-41e3-baac-39f045cdbac5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:03.632695 [ 4660 ] {9fc3b58f-8d8a-44af-9d73-3418c681a55e} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47212) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x1f3abcf7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:03.634176 [ 4660 ] {9fc3b58f-8d8a-44af-9d73-3418c681a55e} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x1f3abcf7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:04.177750 [ 4618 ] {1ad0db55-902b-4787-9581-765e7a5ea551} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:04.178994 [ 4618 ] {1ad0db55-902b-4787-9581-765e7a5ea551} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:05.341537 [ 4660 ] {0ea886ff-1daf-4781-a493-2dfba28bf074} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46276) (comment: 02002_global_subqueries_subquery_or_table_name.sql) (in query: SELECT cityHash64(number GLOBAL IN (NULL, -2147483648, -9223372036854775808), nan, 1024, NULL, NULL, 1.000100016593933, NULL), (NULL, cityHash64(inf, -2147483648, NULL, NULL, 10.000100135803223), cityHash64(1.1754943508222875e-38, NULL, NULL, NULL), 2147483647) FROM cluster(test_cluster_two_shards_localhost, numbers((NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier), 65536)) WHERE number GLOBAL IN [1025] --{serverError 36, 284} ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:99: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x1d3492bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x1d346651 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1d345fbc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x1d317942 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d317288 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:05.341867 [ 4618 ] {03273df6-8cc5-48c8-99a9-8e733d092b7a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:05.342970 [ 4660 ] {0ea886ff-1daf-4781-a493-2dfba28bf074} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:99: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x1d3492bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x1d346651 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1d345fbc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x1d317942 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d317288 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:05.344573 [ 4618 ] {03273df6-8cc5-48c8-99a9-8e733d092b7a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:06.169297 [ 4618 ] {e0b1b5f6-ebae-4198-be1b-bdc9bd0e9c51} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:06.170596 [ 4618 ] {e0b1b5f6-ebae-4198-be1b-bdc9bd0e9c51} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:06.341107 [ 2757 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_vgyl0778.async_inserts FORMAT CSV': Code: 60. DB::Exception: Table test_vgyl0778.async_inserts (03dde5f7-989f-4817-ae40-a83dc4ba178d) doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/optional:285: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28d91a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:393: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x1d18a4ae in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:45: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x1d18d46a in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:06.912795 [ 4618 ] {853c688f-c1d9-45e9-b13d-032bf5701bbd} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:06.914190 [ 4618 ] {853c688f-c1d9-45e9-b13d-032bf5701bbd} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:07.905374 [ 4618 ] {4840b7c3-b4ad-4f33-a647-868339be8f96} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:07.907056 [ 4618 ] {4840b7c3-b4ad-4f33-a647-868339be8f96} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:08.641140 [ 4618 ] {a185b1b8-b3d1-4eec-a1f8-539c3815e497} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:08.642801 [ 4618 ] {a185b1b8-b3d1-4eec-a1f8-539c3815e497} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:09.374998 [ 4618 ] {62ba48b4-5edc-462b-908b-982b28015074} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:09.376246 [ 4618 ] {62ba48b4-5edc-462b-908b-982b28015074} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:10.149617 [ 4618 ] {5825ac5d-50ed-4382-8ef3-08ce09f03a91} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:10.150907 [ 4618 ] {5825ac5d-50ed-4382-8ef3-08ce09f03a91} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:10.927957 [ 11778 ] {344e3b05-182f-442d-9755-07a812d839e1} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: -- -- Error cases SELECT snowflakeToDateTime();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ceb7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:10.928099 [ 4618 ] {7a233ed7-c251-4304-b9a2-b709266efc8b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:10.929251 [ 11778 ] {344e3b05-182f-442d-9755-07a812d839e1} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ceb7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:10.929762 [ 4618 ] {7a233ed7-c251-4304-b9a2-b709266efc8b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:11.344833 [ 11778 ] {f69e12d6-1ce5-4604-9019-dd42e60c9fd1} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d6d7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:11.346025 [ 11778 ] {f69e12d6-1ce5-4604-9019-dd42e60c9fd1} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d6d7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:11.753738 [ 11778 ] {20f3bd42-1a34-4923-9f8e-f349d7f614f1} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ce47 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:11.753879 [ 4618 ] {9fdb91a4-189e-4f85-9dea-3e1160b98da9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:11.754905 [ 11778 ] {20f3bd42-1a34-4923-9f8e-f349d7f614f1} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ce47 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:11.755833 [ 4618 ] {9fdb91a4-189e-4f85-9dea-3e1160b98da9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:12.161473 [ 11778 ] {123b0d08-0fc9-446c-b638-15f6c02b1a57} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d667 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.162791 [ 11778 ] {123b0d08-0fc9-446c-b638-15f6c02b1a57} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d667 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.170201 [ 11778 ] {4789ae2e-9ba2-4287-814c-9c8520bf66e8} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ce47 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.171286 [ 11778 ] {4789ae2e-9ba2-4287-814c-9c8520bf66e8} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1334ce47 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.177736 [ 11778 ] {ff975e2a-e836-4b46-a82a-64ccea3ed1cb} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46654) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d667 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.178798 [ 11778 ] {ff975e2a-e836-4b46-a82a-64ccea3ed1cb} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x1334d667 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 12:59:12.538807 [ 4618 ] {9742cdd0-ea26-4a0e-bbe1-8a95110ce0e6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:12.540050 [ 4618 ] {9742cdd0-ea26-4a0e-bbe1-8a95110ce0e6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.359677 [ 4103 ] {57f65b21-3881-4288-bf43-2725ad2c337e} executeQuery: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46762) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x146ec4ae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc186 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.359768 [ 4618 ] {c5a3bab2-2d01-4da3-a034-1abf5afe8721} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.361536 [ 4103 ] {57f65b21-3881-4288-bf43-2725ad2c337e} TCPHandler: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x146ec4ae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc186 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.362081 [ 4618 ] {c5a3bab2-2d01-4da3-a034-1abf5afe8721} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.376445 [ 4103 ] {75e72697-8c04-4d7b-932d-6dd1c667229b} executeQuery: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46762) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x146ec4ae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc186 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.377522 [ 4103 ] {75e72697-8c04-4d7b-932d-6dd1c667229b} TCPHandler: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x146ec4ae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc186 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:13.836612 [ 4103 ] {cb7457f7-475d-4191-ae28-74b448c4c470} executeQuery: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46762) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT NULL AND (2147483648 AND NULL) AND -2147483647, toUUID(((1048576 AND NULL) AND (2147483647 AND 257 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id), '00000000-e1fe-11e\0-bb8f\0853d60c00749'), stringToH3('89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe464c in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfcedcc in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd55d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbd2b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 12:59:13.838119 [ 4103 ] {cb7457f7-475d-4191-ae28-74b448c4c470} TCPHandler: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe464c in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfcedcc in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x1dfcd55d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbd2b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4658: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd57a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 12:59:14.151854 [ 4618 ] {741a60ed-39b6-4ab9-be40-3b6b3a16daf7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:14.153240 [ 4618 ] {741a60ed-39b6-4ab9-be40-3b6b3a16daf7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:14.224604 [ 4103 ] {cfd84361-6ee0-4d2e-8912-d41aea581d8e} executeQuery: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46800) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('07-08-2019');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:59:14.225915 [ 4103 ] {cfd84361-6ee0-4d2e-8912-d41aea581d8e} TCPHandler: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f4b9 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:59:14.820372 [ 4103 ] {ef1c74f8-7b0e-4bd8-b039-34e136c4fa30} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46800) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('2019-0708');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x1476f650 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1114: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x1476f4fd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0xc94fc88 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f2a1 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 2024.03.19 12:59:15.233824 [ 12571 ] {03c5e89d-6992-42e4-bc43-9d9e240e6882} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47280). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47280) (comment: 02003_memory_limit_in_client.expect) (in query: SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. DB::WriteBuffer::write(char const*, unsigned long) @ 0xc6b15fe in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x1ce829c7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce381d5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce3862a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/NativeWriter.cpp:63: DB::NativeWriter::write(DB::Block const&) @ 0x1f978704 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c825 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:15.234148 [ 4103 ] {ef1c74f8-7b0e-4bd8-b039-34e136c4fa30} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x1476f650 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1114: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x1476f4fd in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0xc94fc88 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f2a1 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 2024.03.19 12:59:15.238392 [ 12571 ] {03c5e89d-6992-42e4-bc43-9d9e240e6882} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47280). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:15.238909 [ 12571 ] {03c5e89d-6992-42e4-bc43-9d9e240e6882} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47280). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. DB::WriteBuffer::write(char const*, unsigned long) @ 0xc6b15fe in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x1ce829c7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce381d5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce3862a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/NativeWriter.cpp:63: DB::NativeWriter::write(DB::Block const&) @ 0x1f978704 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c825 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:15.239670 [ 12571 ] {03c5e89d-6992-42e4-bc43-9d9e240e6882} TCPHandler: Client has gone away. 2024.03.19 12:59:15.664145 [ 4103 ] {7c975a02-5cb3-4083-b22c-57b1097a14be} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46800) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('201907-08');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x1476f650 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1092: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x1476f344 in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0xc94fc88 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f2a1 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 2024.03.19 12:59:15.664460 [ 4618 ] {65f5ae97-6438-4615-8d52-fae67d11f29c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:15.673836 [ 4103 ] {7c975a02-5cb3-4083-b22c-57b1097a14be} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x1476f650 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1092: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x1476f344 in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0xc94fc88 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc94f2a1 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc93e970 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93d685 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc93c8e0 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 2024.03.19 12:59:15.674302 [ 4618 ] {65f5ae97-6438-4615-8d52-fae67d11f29c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:16.126889 [ 4103 ] {67449a9f-a4dc-416e-8b5d-5e087403c2c7} executeQuery: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:46800) (comment: 01933_invalid_date.sql) (in query: SELECT * FROM test WHERE d >= '07-08-2019';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xf75a764 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf73f794 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d332f89 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:59:16.128019 [ 4103 ] {67449a9f-a4dc-416e-8b5d-5e087403c2c7} TCPHandler: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xf75a764 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf73f794 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d332f89 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 12:59:16.420766 [ 4618 ] {6b0de775-bc7a-449c-adc3-b0118f965d5a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:16.422038 [ 4618 ] {6b0de775-bc7a-449c-adc3-b0118f965d5a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:17.103699 [ 4618 ] {ce79391b-dcd1-4196-abd0-946697daea3e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:17.104940 [ 4618 ] {ce79391b-dcd1-4196-abd0-946697daea3e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:17.704759 [ 4101 ] {b2a4f26d-20db-4d30-967c-5e260f5e6eae} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48062) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.029435 [ 11745 ] {0fd410b7-ff59-408e-b75d-8cac607eeac2} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48010) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON t1.time = talias;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:255: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x1e536841 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:112: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x1e536f28 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1e4d0895 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c0dc5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.029578 [ 4101 ] {b2a4f26d-20db-4d30-967c-5e260f5e6eae} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.029752 [ 4618 ] {83a22a2e-7cd8-4192-9837-c356cfadab89} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.030681 [ 11745 ] {0fd410b7-ff59-408e-b75d-8cac607eeac2} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:255: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x1e536841 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:112: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x1e536f28 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1e4d0895 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c0dc5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.031610 [ 4618 ] {83a22a2e-7cd8-4192-9837-c356cfadab89} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.036481 [ 4101 ] {9d5c49d6-a68b-4250-b98c-37b112e7fc9e} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48062) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.037446 [ 4101 ] {9d5c49d6-a68b-4250-b98c-37b112e7fc9e} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525047 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.361668 [ 11745 ] {999a851a-ae5f-4019-9a1d-7986668cf625} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48010) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON talias = t2.time;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:255: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x1e536841 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x1e536f12 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1e4d0895 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c0dc5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.639356 [ 4101 ] {899cde07-7d8f-4057-98d2-4e8344b54742} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48062) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE old_partition_key DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:34: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525154 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.639571 [ 11745 ] {999a851a-ae5f-4019-9a1d-7986668cf625} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:255: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x1e536841 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x1e536f12 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1e4d0895 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c0dc5 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.640405 [ 4101 ] {899cde07-7d8f-4057-98d2-4e8344b54742} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:34: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x1f525154 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x1f3846b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x1f39e438 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49315 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.676917 [ 4618 ] {780a0e75-6c93-436e-8344-9245d3332bd7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:18.678206 [ 4618 ] {780a0e75-6c93-436e-8344-9245d3332bd7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:19.386746 [ 4618 ] {607e3bcd-b3a5-4081-9613-82499c08e18a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:19.388073 [ 4618 ] {607e3bcd-b3a5-4081-9613-82499c08e18a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:20.016790 [ 4618 ] {75ee63b3-6f38-4e80-b071-5570e5471d8e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:20.017813 [ 4618 ] {75ee63b3-6f38-4e80-b071-5570e5471d8e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:20.758563 [ 4618 ] {c0196e65-2d59-4bcf-8b99-2d798d8040c4} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:20.759592 [ 4618 ] {c0196e65-2d59-4bcf-8b99-2d798d8040c4} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.182972 [ 4068 ] {a41773b0-ec86-4540-9505-3d9a25201c66} executeQuery: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48254) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE a (`number` UInt64, `x` MATERIALIZED x) ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 18483, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 14740, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 72, min_merge_bytes_to_use_direct_io = 7378240340, index_granularity_bytes = 29343287), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e537e53 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5398a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c4ded in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88602 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.184059 [ 4068 ] {a41773b0-ec86-4540-9505-3d9a25201c66} TCPHandler: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e537e53 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5398a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c4ded in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88602 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.539730 [ 4068 ] {b882ba1b-0724-4303-8b4f-707176bc0bf3} executeQuery: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48254) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE foo (`i` Int32, `j` ALIAS j + 1) ENGINE = MergeTree ORDER BY i SETTINGS index_granularity = 18483, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 14740, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 72, min_merge_bytes_to_use_direct_io = 7378240340, index_granularity_bytes = 29343287), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e537e53 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5398a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b8af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c4ded in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88602 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.539812 [ 4618 ] {9231fd10-097f-4f9f-9f01-1d22d37f5fda} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.540973 [ 4068 ] {b882ba1b-0724-4303-8b4f-707176bc0bf3} TCPHandler: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e537e53 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5398a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b8af in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x1e53b5d6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x1e5399ad in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x1e4c2fd7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c4ded in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88602 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:21.541129 [ 4618 ] {9231fd10-097f-4f9f-9f01-1d22d37f5fda} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:22.251860 [ 4618 ] {dc71d921-5257-4029-b261-d59c8afbc4b1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:22.253582 [ 4618 ] {dc71d921-5257-4029-b261-d59c8afbc4b1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:23.212529 [ 4618 ] {3a6e0c4d-7555-4d6b-9739-d471cd1e532c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:23.213774 [ 4618 ] {3a6e0c4d-7555-4d6b-9739-d471cd1e532c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:24.055772 [ 4618 ] {70d3efcd-f591-4392-82ef-664e43f150a3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:24.061044 [ 4618 ] {70d3efcd-f591-4392-82ef-664e43f150a3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:24.905063 [ 4618 ] {e2d3e642-7637-4f3d-a48a-f51fed5bf87b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:24.906158 [ 4618 ] {e2d3e642-7637-4f3d-a48a-f51fed5bf87b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:25.577221 [ 4618 ] {fcfe1f0c-6e45-49b3-84db-bd3556a39939} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:25.578356 [ 4618 ] {fcfe1f0c-6e45-49b3-84db-bd3556a39939} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:26.283283 [ 4618 ] {cbad3a64-1549-49c8-8a37-350dc65c85b0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:26.284442 [ 4618 ] {cbad3a64-1549-49c8-8a37-350dc65c85b0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:26.875282 [ 4071 ] {2b24a3a4-394d-4e2e-8c04-f51044380389} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47974). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47974) (comment: 02003_memory_limit_in_client.expect) (in query: SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. DB::WriteBuffer::write(char const*, unsigned long) @ 0xc6b15fe in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x1ce829c7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce381d5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce3862a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/NativeWriter.cpp:63: DB::NativeWriter::write(DB::Block const&) @ 0x1f978704 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c825 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:26.878045 [ 4071 ] {2b24a3a4-394d-4e2e-8c04-f51044380389} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47974). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 12:59:26.878593 [ 4071 ] {2b24a3a4-394d-4e2e-8c04-f51044380389} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47974). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. DB::WriteBuffer::write(char const*, unsigned long) @ 0xc6b15fe in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x1ce829c7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce381d5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x1ce3862a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/NativeWriter.cpp:63: DB::NativeWriter::write(DB::Block const&) @ 0x1f978704 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c825 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:26.879487 [ 4071 ] {2b24a3a4-394d-4e2e-8c04-f51044380389} TCPHandler: Client has gone away. 2024.03.19 12:59:27.011499 [ 4618 ] {fd96a247-12c9-49f8-afa2-a6e84023ee06} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:27.012878 [ 4618 ] {fd96a247-12c9-49f8-afa2-a6e84023ee06} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:27.457945 [ 4618 ] {650fd47a-225b-4e88-a157-c5451328aa7a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:27.458758 [ 4618 ] {650fd47a-225b-4e88-a157-c5451328aa7a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:27.897077 [ 4618 ] {ab804d5f-0beb-4eed-b23f-0a932a19f4a1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:27.898030 [ 4618 ] {ab804d5f-0beb-4eed-b23f-0a932a19f4a1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:28.615067 [ 4618 ] {3423b01f-98ca-4333-a59e-b3aa290200d6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:28.616246 [ 4618 ] {3423b01f-98ca-4333-a59e-b3aa290200d6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:29.113993 [ 4618 ] {3308f091-0f6d-4502-97c7-0192e03a2aaa} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:29.115007 [ 4618 ] {3308f091-0f6d-4502-97c7-0192e03a2aaa} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:29.590239 [ 4618 ] {3305dcfb-a67f-432f-b535-0bbf30919977} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:29.591280 [ 4618 ] {3305dcfb-a67f-432f-b535-0bbf30919977} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:30.021752 [ 4618 ] {2885fdee-6aed-4184-b788-20b1576c574b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:30.022683 [ 4618 ] {2885fdee-6aed-4184-b788-20b1576c574b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:30.541354 [ 4618 ] {c9e413a5-fed0-42d2-b1d5-8db80cb4ff39} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:30.542675 [ 4618 ] {c9e413a5-fed0-42d2-b1d5-8db80cb4ff39} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.073534 [ 1030 ] {5ed1abde-d6ec-4253-a5c6-beb5d4db115d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x1cddc5ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x1d064ed1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361039 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356562 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356554 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x1d330a93 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1f2e8106 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:0: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x1f5d8e07 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bf375 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:31.073605 [ 4618 ] {c3c13390-4a7c-4481-becf-d634622cc222} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.074648 [ 1030 ] {5ed1abde-d6ec-4253-a5c6-beb5d4db115d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x1cddc5ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x1d064ed1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361039 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356562 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356554 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x1d330a93 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1f2e8106 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:0: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x1f5d8e07 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bf375 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:31.074979 [ 4618 ] {c3c13390-4a7c-4481-becf-d634622cc222} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.765609 [ 1030 ] {e1e05207-e9c0-47b7-b6ba-4bbd04cbcaaf} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- can't use bloom_filter with `hasAny` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAny(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.766525 [ 1030 ] {e1e05207-e9c0-47b7-b6ba-4bbd04cbcaaf} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.779642 [ 1030 ] {476fc382-47fb-49cb-8f9c-eba2b412c057} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAny(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.780529 [ 1030 ] {476fc382-47fb-49cb-8f9c-eba2b412c057} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.782716 [ 4618 ] {95f504da-fb89-41fd-bc6a-a821921ec540} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.783498 [ 4618 ] {95f504da-fb89-41fd-bc6a-a821921ec540} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.792998 [ 1030 ] {4060fc04-d19f-4681-811f-623478232b2c} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.793727 [ 1030 ] {4060fc04-d19f-4681-811f-623478232b2c} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.799837 [ 1030 ] {04350f0e-d742-49bd-b852-fad3c9ab5acd} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x1cddc5ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x1d064ed1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361039 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356562 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356554 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x1d330a93 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1f2e8106 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:0: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x1f5d8e07 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bf375 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:31.800678 [ 1030 ] {04350f0e-d742-49bd-b852-fad3c9ab5acd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x1cddc5ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x1d064ed1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361039 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356562 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356554 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x1d330a93 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1f2e8106 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:0: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x1f5d8e07 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bf375 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 12:59:31.813753 [ 1030 ] {ebd111cc-bb5a-4c62-b588-9c0900fb123d} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35128) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:31.814616 [ 1030 ] {ebd111cc-bb5a-4c62-b588-9c0900fb123d} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:32.186997 [ 4618 ] {cdffa07e-9356-4389-a2bd-b8caf86f7c45} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:32.188498 [ 4618 ] {cdffa07e-9356-4389-a2bd-b8caf86f7c45} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:32.803646 [ 4618 ] {2a60dfc1-909d-4749-a85b-f49d1d6d317e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:32.804612 [ 4618 ] {2a60dfc1-909d-4749-a85b-f49d1d6d317e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.174148 [ 1028 ] {5093fe14-ba9c-4fe0-a0c6-eeed0a1334dd} executeQuery: Code: 47. DB::Exception: JOIN test_4cr6zqqh.v1 AS t1 ALL INNER JOIN test_4cr6zqqh.v1 AS t2 USING (id) ALL INNER JOIN test_4cr6zqqh.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35288) (comment: 01852_multiple_joins_with_union_join.sql) (in query: SELECT * FROM v1 AS t1 JOIN v1 AS t2 USING (id) JOIN v1 AS t3 USING (value);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x1e00aeee in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc6fb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.175332 [ 1028 ] {5093fe14-ba9c-4fe0-a0c6-eeed0a1334dd} TCPHandler: Code: 47. DB::Exception: JOIN test_4cr6zqqh.v1 AS t1 ALL INNER JOIN test_4cr6zqqh.v1 AS t2 USING (id) ALL INNER JOIN test_4cr6zqqh.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x1e00aeee in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc6fb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.222629 [ 4618 ] {0cb05690-7f7e-4a92-bfda-42d463253b4d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.223544 [ 4618 ] {0cb05690-7f7e-4a92-bfda-42d463253b4d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.895006 [ 4618 ] {c443847d-aa22-4960-8f56-cd0db8a8fec1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:33.894988 [ 1031 ] {9f9867da-0f00-41ef-bb1f-8ad2f84d81c6} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35350) (comment: 01847_bad_like.sql) (in query: SELECT '\\' LIKE '\\';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x112bba94 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x112bad8f in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b7e9f in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6d9b in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:59:33.896239 [ 1031 ] {9f9867da-0f00-41ef-bb1f-8ad2f84d81c6} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x107fafa3 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x1474bf6b in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x112bba94 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x112bad8f in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x112b7e9f in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x112b6d9b in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 12:59:33.896556 [ 4618 ] {c443847d-aa22-4960-8f56-cd0db8a8fec1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.303835 [ 4618 ] {ad831cc8-ff42-4372-9ebb-5467ffc36978} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.304763 [ 4618 ] {ad831cc8-ff42-4372-9ebb-5467ffc36978} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.568328 [ 4618 ] {ca2e6ead-90b3-48af-8775-55466f88f6e2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, isNull(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.569976 [ 4618 ] {ca2e6ead-90b3-48af-8775-55466f88f6e2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.918310 [ 1031 ] {9e99f225-883e-4961-8cf5-e2219d98f670} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53718) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.919014 [ 1031 ] {9e99f225-883e-4961-8cf5-e2219d98f670} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.938834 [ 4618 ] {37a5d988-f1b3-4fdb-a768-caaaff00443f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ALL RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:34.939819 [ 4618 ] {37a5d988-f1b3-4fdb-a768-caaaff00443f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.151438 [ 4616 ] {91f3f52d-7c90-44e6-b545-d533390b15cc} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53696) (comment: 01825_type_json_insert_select.sql) (in query: INSERT INTO type_json_dst SELECT * FROM type_json_src WHERE id = 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:293: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x1cdf4271 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf574b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x1cdf2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x1f77a01d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.153113 [ 4616 ] {91f3f52d-7c90-44e6-b545-d533390b15cc} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:293: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x1cdf4271 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf574b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x1cdf2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x1f77a01d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.194750 [ 4618 ] {6be64d54-a943-428b-8be7-9500cefc9027} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key, t2.key, isNull(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.195995 [ 4618 ] {6be64d54-a943-428b-8be7-9500cefc9027} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.868355 [ 4618 ] {508afd24-48ff-4bc8-a926-38b73a052467} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60180) (comment: 02273_full_sort_join.gen.sql) (in query: SELECT t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, empty(t1.s), t2.s FROM t1 ANY RIGHT JOIN t2 ON t1.key1 == t2.key1 AND t1.key2 == t2.key2 AND t1.key3 == t2.key3 AND t1.key1 == t2.key3 ORDER BY t1.key1, t1.key2, t1.key3, t2.key1, t2.key2, t2.key3, t2.s ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:35.870626 [ 4618 ] {508afd24-48ff-4bc8-a926-38b73a052467} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d34000a in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d3274cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:36.764090 [ 4593 ] {e8cc3fa2-0b6e-4f26-9282-3a2a0f3508dc} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53860) (comment: 01825_type_json_14.sql) (in query: INSERT INTO t_json_14 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:298: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x1cdf41d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf574b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x1cdf2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x1ece31e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:37.097037 [ 4593 ] {e8cc3fa2-0b6e-4f26-9282-3a2a0f3508dc} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:298: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x1cdf41d2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x1cdf574b in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x1cdf2a44 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x1ece31e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:37.097054 [ 1028 ] {385dfd55-4f4f-4b32-9254-bcc9e04b1f68} executeQuery: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53908) (comment: 01852_cast_operator_bad_cases.sh) (in query: SELECT '1''4'::UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7311d8 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7204fc in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71f265 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71e520 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 2024.03.19 12:59:37.098871 [ 1028 ] {385dfd55-4f4f-4b32-9254-bcc9e04b1f68} TCPHandler: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7311d8 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7204fc in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71f265 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71e520 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 2024.03.19 12:59:41.428632 [ 12571 ] {c4d08fb0-674e-4a67-bfd7-0a57f01777a6} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 9.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54800) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:41.429519 [ 12571 ] {c4d08fb0-674e-4a67-bfd7-0a57f01777a6} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 9.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:41.437335 [ 12571 ] {c50fe9d0-db4e-4869-aa2d-2f52a300e1bf} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 9.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54800) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key desc settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:41.437921 [ 12571 ] {c50fe9d0-db4e-4869-aa2d-2f52a300e1bf} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 9.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.115780 [ 4229 ] {01a67a04-d0dd-42a3-8c0f-ac9e918d36a9} executeQuery: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35720) (comment: 01777_map_populate_series_ubsan.sql) (in query: -- Should correctly throw exception about overflow: SELECT mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x145d1c98 in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x145d1026 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x143ce2d2 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:59:45.117228 [ 4229 ] {01a67a04-d0dd-42a3-8c0f-ac9e918d36a9} TCPHandler: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x145d1c98 in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x145d1026 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x143ce2d2 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 12:59:45.885922 [ 4593 ] {da25d615-1956-4242-bbca-f10edc6df6ea} executeQuery: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35926) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT avg(number) AS number, max(number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.886810 [ 4593 ] {da25d615-1956-4242-bbca-f10edc6df6ea} TCPHandler: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.895768 [ 4593 ] {8694fb87-00a6-4e6c-96cb-f2ec4647c91c} executeQuery: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35926) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT sum(x) AS x, max(x) FROM (SELECT 1 AS x UNION ALL SELECT 2 AS x) t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.896564 [ 4593 ] {8694fb87-00a6-4e6c-96cb-f2ec4647c91c} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.904085 [ 4593 ] {66115cd9-5e93-4bd6-a888-cfdb2999ee0b} executeQuery: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35926) (comment: 01764_prefer_column_name_to_alias.sql) (in query: select sum(C1) as C1, count(C1) as C2 from (select number as C1 from numbers(3)) as ITBL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:45.904865 [ 4593 ] {66115cd9-5e93-4bd6-a888-cfdb2999ee0b} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x1d345542 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x1e4c3af3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf410 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:46.030376 [ 4618 ] {9d51cd7f-2528-4162-8e97-ec79a17c0e21} StorageDistributed (tt6): Name of remote database is empty. Default database will be used implicitly. 2024.03.19 12:59:46.041668 [ 4618 ] {351ab469-c843-4783-9439-c2bcbf8e37d0} StorageDistributed (tt7): Name of remote database is empty. Default database will be used implicitly. 2024.03.19 12:59:46.430394 [ 4618 ] {021af4d6-c830-4c68-9a96-a575562a573e} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36016) (comment: 01763_max_distributed_depth.sql) (in query: INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x1f226aaf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x1ec28dcc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0eba0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 2024.03.19 12:59:46.437024 [ 4618 ] {021af4d6-c830-4c68-9a96-a575562a573e} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x1f226aaf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x1ec28dcc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0eba0 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 2024.03.19 12:59:46.970486 [ 4618 ] {a25ab0cf-92ad-4daf-8b11-a9225d042009} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36016) (comment: 01763_max_distributed_depth.sql) (in query: SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 12:59:46.972097 [ 4618 ] {a25ab0cf-92ad-4daf-8b11-a9225d042009} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 12:59:47.275719 [ 4615 ] {68ca8d6b-865c-497c-8631-89367d212a7c} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- in negative select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.276792 [ 4615 ] {68ca8d6b-865c-497c-8631-89367d212a7c} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.285789 [ 4615 ] {fceed1c9-f4ae-489a-9e1f-b12b43a27f54} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- or negative select * from dist_01757 where dummy = 0 or dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.286546 [ 4615 ] {fceed1c9-f4ae-489a-9e1f-b12b43a27f54} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.324610 [ 4615 ] {945c2525-41a6-41f8-aa90-1849e389df5c} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- and negative select * from dist_01757 where dummy = 0 and dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.325485 [ 4615 ] {945c2525-41a6-41f8-aa90-1849e389df5c} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.332823 [ 4615 ] {d81e99a1-adf3-4e84-962a-3375400e7154} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.334080 [ 4615 ] {d81e99a1-adf3-4e84-962a-3375400e7154} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.342407 [ 4615 ] {ee2ee2f8-f3b6-4df6-aeed-f0b14b49ebf3} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.343296 [ 4615 ] {ee2ee2f8-f3b6-4df6-aeed-f0b14b49ebf3} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.677272 [ 4615 ] {2bfc0f81-6138-47be-b5ff-0e1904abb416} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- ARGUMENT_OUT_OF_BOUND error select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1722: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec19c0a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.678786 [ 4615 ] {2bfc0f81-6138-47be-b5ff-0e1904abb416} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1722: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec19c0a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.687659 [ 4615 ] {246404ac-c403-4947-866f-3ee65d3bd0de} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36246) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=9223372036854775808;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1722: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec19c0a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:47.689351 [ 4615 ] {246404ac-c403-4947-866f-3ee65d3bd0de} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x1ec2626d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1722: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec19c0a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:48.223611 [ 4618 ] {cfe5a373-a7cf-42f7-9511-ca4c9ce1c3fa} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f8857d82000, frame address: 0x7f885851b450, stack size: 420784, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36016) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:13: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6a77a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 2024.03.19 12:59:48.530346 [ 4618 ] {cfe5a373-a7cf-42f7-9511-ca4c9ce1c3fa} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f8857d82000, frame address: 0x7f885851b450, stack size: 420784, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:13: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6a77a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d69f in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x1f22d71e in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x1f228cfe in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x1f226ee9 in /usr/bin/clickhouse 2024.03.19 12:59:48.530350 [ 4619 ] {1db6b7e9-af75-481c-979d-5a83d5fddcd1} executeQuery: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36442) (comment: 01762_deltasumtimestamp_datetime64.sh) (in query: SELECT deltaSumTimestamp(1, now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:0: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14f53127 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:48.532202 [ 4619 ] {1db6b7e9-af75-481c-979d-5a83d5fddcd1} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:0: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14f53127 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:48.968564 [ 4618 ] {54ac4e3a-43a8-43ec-b03a-4fd0282b9ed4} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f8857d82000, frame address: 0x7f885851b640, stack size: 420288, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36016) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x1e4e4082 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x1e4d41a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bc0fb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b6590 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6226 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0adfc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 2024.03.19 12:59:48.969695 [ 4618 ] {54ac4e3a-43a8-43ec-b03a-4fd0282b9ed4} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f8857d82000, frame address: 0x7f885851b640, stack size: 420288, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x1e4e4082 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x1e4d41a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bc0fb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b6590 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6226 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0adfc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 2024.03.19 12:59:51.275025 [ 12839 ] {0c4799f8-5606-4714-8687-20f48ce48625} executeQuery: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36986) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000.0, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0xc6c5c89 in /usr/bin/clickhouse 4. DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0xc6c5773 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xce1b2cd in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xce18ed4 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce18a04 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce17d00 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:51.279497 [ 12839 ] {0c4799f8-5606-4714-8687-20f48ce48625} TCPHandler: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0xc6c5c89 in /usr/bin/clickhouse 4. DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0xc6c5773 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xce1b2cd in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xce18ed4 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce18a04 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce17d00 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:51.660823 [ 12839 ] {41486a7b-e68c-4e4d-a3ed-329ead027710} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36986) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0xc6c2982 in /usr/bin/clickhouse 3. void DB::Transformer, false>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&) @ 0xc6c2865 in /usr/bin/clickhouse 4. DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0xc6c2534 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xce19897 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xce18e00 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce18a04 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce17d00 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:51.931380 [ 4103 ] {8a085a71-45fc-49fe-84ee-1ae24e9e695d} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_nullable_type (aa055372-f939-4392-bb49-3a5a4f86f0b3) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37136) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:51.931596 [ 12839 ] {41486a7b-e68c-4e4d-a3ed-329ead027710} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0xc6c2982 in /usr/bin/clickhouse 3. void DB::Transformer, false>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&) @ 0xc6c2865 in /usr/bin/clickhouse 4. DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0xc6c2534 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xce19897 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xce18e00 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce18a04 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xce17d00 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:51.933029 [ 4103 ] {8a085a71-45fc-49fe-84ee-1ae24e9e695d} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_nullable_type (aa055372-f939-4392-bb49-3a5a4f86f0b3) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:52.132557 [ 4103 ] {f59f5b6b-3362-421f-b649-4d05285d2204} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_low_cardinality_type (66c50434-330c-40ea-95a7-f99f18142cfa) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37136) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:52.133494 [ 4103 ] {f59f5b6b-3362-421f-b649-4d05285d2204} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_low_cardinality_type (66c50434-330c-40ea-95a7-f99f18142cfa) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:52.348975 [ 4103 ] {9704a778-f72f-4292-8ba2-16a7df547725} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_low_cardinality_nullable_type (3393d3ce-257e-44e5-bc4b-b0611da5e296) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37136) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:52.350171 [ 4103 ] {9704a778-f72f-4292-8ba2-16a7df547725} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_s4oaqos6.constraint_on_low_cardinality_nullable_type (3393d3ce-257e-44e5-bc4b-b0611da5e296) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:54.114216 [ 4074 ] {ff967015-d8b0-432a-981a-c305e3950184} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37486) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 0.9998999834060669);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x1037419c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1050cf6c in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1050231f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10501779 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:54.513626 [ 6031 ] {20cbc3d8-4429-48ce-8929-42ccda0b08a6} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37316) (comment: 01720_type_map_and_casts.sql) (in query: SELECT m[257], m[1] FROM table_map_with_key_integer;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13fb725e in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13fb7c1e in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:54.514008 [ 4074 ] {ff967015-d8b0-432a-981a-c305e3950184} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x1037419c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1050cf6c in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1050231f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10501779 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:54.515420 [ 6031 ] {20cbc3d8-4429-48ce-8929-42ccda0b08a6} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13fb725e in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13fb7c1e in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:54.525140 [ 4074 ] {9e4c5b45-d181-420c-a3d1-e5d11fc67333} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37486) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 1.);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x1037419c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1050cf6c in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1050231f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10501779 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:54.526424 [ 4074 ] {9e4c5b45-d181-420c-a3d1-e5d11fc67333} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x1037419c in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1050cf6c in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1050231f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x10501779 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 12:59:55.192335 [ 6031 ] {9475c4ac-59f3-4ed0-9743-f06ef99be344} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37316) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Float32, String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 43484, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 8005, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 39, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 28196173), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.602848 [ 4101 ] {1e55f881-1417-4cd9-91bc-fc919ed71ab3} executeQuery: Code: 60. DB::Exception: Table test_k4ldj8ky.tabB doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39444) (comment: 01717_global_with_subquery_fix.sql) (in query: WITH (SELECT count(distinct colU) from tabA) AS withA, (SELECT count(distinct colU) from tabA) AS withB SELECT withA / withB AS ratio FROM (SELECT date AS period, colX FROM (SELECT date, if(colA IN (SELECT colB FROM tabC), 0, colA) AS colX FROM tabB) AS tempB GROUP BY period, colX) AS main;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:59:55.603125 [ 6031 ] {9475c4ac-59f3-4ed0-9743-f06ef99be344} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.603231 [ 4070 ] {c56599ee-e7d7-4bb5-b175-ecddf103dc6f} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- optimize_skip_unused_shards does not support non-constants select * from dist_01756 where dummy in (select * from system.one);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.604793 [ 4101 ] {1e55f881-1417-4cd9-91bc-fc919ed71ab3} TCPHandler: Code: 60. DB::Exception: Table test_k4ldj8ky.tabB doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 12:59:55.605026 [ 4070 ] {c56599ee-e7d7-4bb5-b175-ecddf103dc6f} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.612573 [ 6031 ] {3e8f3ce5-47f5-43b4-bca1-fa0c01e8d1fc} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37316) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Nullable(String), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 43484, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 8005, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 39, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 28196173), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.614570 [ 6031 ] {3e8f3ce5-47f5-43b4-bca1-fa0c01e8d1fc} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.616240 [ 4070 ] {884a505f-98a6-4316-a177-721c2e679add} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.617535 [ 4070 ] {884a505f-98a6-4316-a177-721c2e679add} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.624115 [ 6031 ] {d3cf6702-48cb-4a47-8078-114b4edd272c} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37316) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Array(UInt32), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 43484, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 8005, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 39, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 28196173), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.625620 [ 6031 ] {d3cf6702-48cb-4a47-8078-114b4edd272c} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x1cdad66f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x1cdad8eb in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x113090a1 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdaf057 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.627289 [ 4070 ] {16e7ea16-48e9-4546-a17e-610a4f6ccc4c} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- NOT IN does not supported select * from dist_01756 where dummy not in (0, 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.628417 [ 4070 ] {16e7ea16-48e9-4546-a17e-610a4f6ccc4c} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.970856 [ 4070 ] {ff164a06-62e5-45a6-86d0-ec00b60e27c6} executeQuery: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_str where key in ('0', Null);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:55.971791 [ 4070 ] {ff164a06-62e5-45a6-86d0-ec00b60e27c6} TCPHandler: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.267029 [ 11745 ] {101969c9-5111-4d27-b92d-96663f05a6e8} executeQuery: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39658) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table ( date Date, value UInt64 ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) TTL date + INTERVAL 2 MONTH;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0xf1d1122 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b3bc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.649038 [ 4070 ] {c126f220-49ea-401d-92a1-4e6232875a44} executeQuery: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_column where dummy in (0, '255foo');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:454: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x1e58c2f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x1e58b6f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x1e58944a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec191bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.649090 [ 11745 ] {101969c9-5111-4d27-b92d-96663f05a6e8} TCPHandler: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0xf1d1122 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b3bc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.650186 [ 4070 ] {c126f220-49ea-401d-92a1-4e6232875a44} TCPHandler: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:454: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x1e58c2f5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x1e58b6f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x1e58944a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) const @ 0x1ec191bd in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08497 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.923646 [ 4070 ] {423bcf83-5b80-4ede-b353-fb105a037c90} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36362) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (0, 2) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.923695 [ 11745 ] {82d8cbab-e4a0-4e6b-8a8c-3d4569e54d41} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39658) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) PARTITION BY date SETTINGS index_granularity = 26675, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 4106, prefer_fetch_merged_part_size_threshold = 5816816971, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 34, min_merge_bytes_to_use_direct_io = 5276619504, index_granularity_bytes = 23307285), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:262: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b0a9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.925140 [ 4070 ] {423bcf83-5b80-4ede-b353-fb105a037c90} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x1ec08674 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x1ec07271 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c98a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.925213 [ 11745 ] {82d8cbab-e4a0-4e6b-8a8c-3d4569e54d41} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:262: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b0a9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.933301 [ 11745 ] {e08fe9e9-e048-4b86-a1bd-9bd41647411f} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39658) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) ORDER BY value SETTINGS index_granularity = 26675, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 4106, prefer_fetch_merged_part_size_threshold = 5816816971, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 34, min_merge_bytes_to_use_direct_io = 5276619504, index_granularity_bytes = 23307285), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:262: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b0a9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 12:59:56.934287 [ 11745 ] {e08fe9e9-e048-4b86-a1bd-9bd41647411f} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) GRANULARITY value1, INDEX index_name2 expr2 TYPE type2(...) GRANULARITY value2 ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x1f73d46a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:262: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73b0a9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:00.600437 [ 649 ] {3315dc9b-2492-409d-91f0-1b6ea02a9caf} executeQuery: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40104) (comment: 01710_minmax_count_projection.sql) (in query: select count(if(d=4, Null, 1)) from test settings force_optimize_projection = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [108]) @ 0x1cfa9a42 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x1ff6a9ab in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedbe38 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:00.601284 [ 649 ] {3315dc9b-2492-409d-91f0-1b6ea02a9caf} TCPHandler: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [108]) @ 0x1cfa9a42 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x1ff6a9ab in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedbe38 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:00.958400 [ 4593 ] {2d722ac0-32bc-4553-b76e-2a829f46e21a} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitAnd(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xdb8b89e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xdabbe63 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:00.959437 [ 4593 ] {2d722ac0-32bc-4553-b76e-2a829f46e21a} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xdb8b89e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xdabbe63 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.313994 [ 4593 ] {1194aa57-5c86-4883-ba96-1b72d2d4232a} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitXor(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe5be55e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe4ea2e3 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.314998 [ 4593 ] {1194aa57-5c86-4883-ba96-1b72d2d4232a} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe5be55e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe4ea2e3 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.643887 [ 4593 ] {98b4205a-62b3-4702-9d65-7f32736b3fb8} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitOr(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xdf567be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xde82543 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.644874 [ 4593 ] {98b4205a-62b3-4702-9d65-7f32736b3fb8} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xdf567be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xde82543 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.973799 [ 4593 ] {79aa60c8-d1e5-4d43-a487-21270b21e989} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe4acb5e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe401403 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.974807 [ 4593 ] {79aa60c8-d1e5-4d43-a487-21270b21e989} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe4acb5e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe401403 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.980780 [ 4593 ] {e47f16b8-9864-4e4a-b9c9-87f6b9c04c6d} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe4acb5e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe401403 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:01.981703 [ 4593 ] {e47f16b8-9864-4e4a-b9c9-87f6b9c04c6d} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe4acb5e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe401403 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.311609 [ 4593 ] {6c522797-a262-4177-8309-025ace7671bd} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe062bbe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xdf85243 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.312677 [ 4593 ] {6c522797-a262-4177-8309-025ace7671bd} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe062bbe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xdf85243 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.656885 [ 4593 ] {9d5cac1e-11ac-4543-8280-db4939097877} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe1702de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe091203 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.657968 [ 4593 ] {9d5cac1e-11ac-4543-8280-db4939097877} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe1702de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe091203 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.985056 [ 4593 ] {1e12bc50-262c-4c27-bfe8-df416b64caa2} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe29f9be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe19e923 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:02.986109 [ 4593 ] {1e12bc50-262c-4c27-bfe8-df416b64caa2} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe29f9be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe19e923 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:03.421791 [ 4593 ] {14ecba1b-78b9-4af8-b0cd-e34939dbeaf6} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40560) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe3b8ffe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe2cea43 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:03.423090 [ 4593 ] {14ecba1b-78b9-4af8-b0cd-e34939dbeaf6} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xe3b8ffe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xe2cea43 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:00:04.148185 [ 4618 ] {38cf99e0-f3a0-4a67-a11b-774ffa4ca66a} executeQuery: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41316) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere x != 0 where arr;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0xe72843d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361fc9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0de in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:04.149164 [ 4618 ] {38cf99e0-f3a0-4a67-a11b-774ffa4ca66a} TCPHandler: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0xe72843d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d361fc9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0de in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:04.423002 [ 4618 ] {c58a1725-7a54-4e3e-8b5f-dd2b719e93e2} executeQuery: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41316) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere arr where x != 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x1d09457c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x1d328e4b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1920: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d331c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:04.424076 [ 4618 ] {c58a1725-7a54-4e3e-8b5f-dd2b719e93e2} TCPHandler: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x1d09457c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x1d328e4b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1920: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d331c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:06.524527 [ 953 ] {859ef293-f6b5-44bb-afa6-848735effc58} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000000 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:06.525461 [ 953 ] {859ef293-f6b5-44bb-afa6-848735effc58} DDLWorker: Query /* ddl_entry=query-0000000000 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:06.747130 [ 11125 ] {4b827454-c049-4945-a791-1211e55c15de} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58112) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:06.748274 [ 11125 ] {4b827454-c049-4945-a791-1211e55c15de} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:07.123411 [ 953 ] {e8c96f4a-678a-4466-ac02-e618614023fe} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000001 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:07.124029 [ 953 ] {e8c96f4a-678a-4466-ac02-e618614023fe} DDLWorker: Query /* ddl_entry=query-0000000001 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:07.134087 [ 6031 ] {36e5eb0f-dfba-4d1b-a039-2ad44e75e2b8} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58294) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:07.135044 [ 6031 ] {36e5eb0f-dfba-4d1b-a039-2ad44e75e2b8} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:07.945891 [ 953 ] {fe0db3d9-55fc-45b1-9873-e17ee2e72356} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000003 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:07.947543 [ 953 ] {fe0db3d9-55fc-45b1-9873-e17ee2e72356} DDLWorker: Query /* ddl_entry=query-0000000003 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:08.047478 [ 4101 ] {e5894031-147c-44a2-89c3-148263a3d5cc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58540) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:08.049351 [ 4101 ] {e5894031-147c-44a2-89c3-148263a3d5cc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:08.517175 [ 953 ] {a8e330a5-7607-4cde-a139-bcaf08a019e0} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000004 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:08.518035 [ 953 ] {a8e330a5-7607-4cde-a139-bcaf08a019e0} DDLWorker: Query /* ddl_entry=query-0000000004 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:08.617699 [ 1025 ] {1c6264c6-f9d8-467c-9633-47c578304927} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58676) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:08.619378 [ 1025 ] {1c6264c6-f9d8-467c-9633-47c578304927} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:09.479901 [ 953 ] {63de0249-55f4-410a-8b0a-5e42685b50b5} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000006 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:09.480717 [ 953 ] {63de0249-55f4-410a-8b0a-5e42685b50b5} DDLWorker: Query /* ddl_entry=query-0000000006 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:09.586348 [ 4068 ] {902d4129-9d61-440d-af19-2d2d85422d9c} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58902) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:09.590096 [ 4068 ] {902d4129-9d61-440d-af19-2d2d85422d9c} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:10.058234 [ 953 ] {07887053-df80-43e7-8bea-f0d3ba69e227} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000007 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:10.059190 [ 953 ] {07887053-df80-43e7-8bea-f0d3ba69e227} DDLWorker: Query /* ddl_entry=query-0000000007 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:10.156340 [ 4616 ] {5fda2e89-473d-47f1-880c-ca87681e5eb1} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59072) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:10.157472 [ 4616 ] {5fda2e89-473d-47f1-880c-ca87681e5eb1} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:10.488798 [ 1025 ] {374db30b-c9be-40cf-8d90-0e9cfd50d337} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58892) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0xff3ccb3 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff3c0cf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:10.489880 [ 1025 ] {374db30b-c9be-40cf-8d90-0e9cfd50d337} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0xff3ccb3 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff3c0cf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:10.496719 [ 1025 ] {2ac0a3f8-5a81-425d-acf0-363bef117e8e} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58892) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10000)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0xff3ccb3 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff3c0cf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:10.497586 [ 1025 ] {2ac0a3f8-5a81-425d-acf0-363bef117e8e} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0xff3ccb3 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff3c0cf in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:10.983272 [ 953 ] {27b2df72-1b7d-473f-944c-2d2210574a5c} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000009 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:10.984013 [ 953 ] {27b2df72-1b7d-473f-944c-2d2210574a5c} DDLWorker: Query /* ddl_entry=query-0000000009 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:11.083275 [ 1031 ] {bedef4e5-c52f-4ce9-8009-6f9e8b659f07} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59330) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:11.084236 [ 1031 ] {bedef4e5-c52f-4ce9-8009-6f9e8b659f07} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:11.840865 [ 1026 ] {723cc543-0077-423e-b5b3-55ba71b2dbe4} executeQuery: Code: 53. DB::Exception: Types of column 1 in section IN don't match: Date on the left, Nothing on the right. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 01651_bugs_from_15889.sql) (in query: SELECT count() FROM `test_7gtu3l0t`.`xp` WHERE `A` GLOBAL IN (`_subquery174`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x1e328bf8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:1221: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x1f2ee05a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2f0799 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2fd972 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x1f304bed in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x1f2fffad in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x1f2e8fa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x1f2e96d1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:378: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x1f4723d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefb4e0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:11.842010 [ 1026 ] {723cc543-0077-423e-b5b3-55ba71b2dbe4} TCPHandler: Code: 53. DB::Exception: Types of column 1 in section IN don't match: Date on the left, Nothing on the right. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x1e328bf8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:1221: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x1f2ee05a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2f0799 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2fd972 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x1f304bed in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x1f2fffad in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x1f2e8fa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x1f2e96d1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:378: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x1f4723d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefb4e0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:11.974804 [ 953 ] {a11f09f4-11d2-48db-8eb6-ccc52698d937} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000011 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:11.975176 [ 4615 ] {a1b316d0-fc52-4c28-991e-83d8bca383a4} executeQuery: Code: 53. DB::Exception: Received from localhost:9000. DB::Exception: Types of column 1 in section IN don't match: Date on the left, Nothing on the right. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x1e328bf8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:1221: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x1f2ee05a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2f0799 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2fd972 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x1f304bed in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x1f2fffad in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x1f2e8fa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x1f2e96d1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:378: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x1f4723d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefb4e0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59418) (comment: 01651_bugs_from_15889.sql) (in query: -- FIXME: this query spontaneously returns either 8 or 20 error code. Looks like it's potentially flaky. -- SELECT count(7 = (SELECT number FROM numbers(0) ORDER BY number ASC NULLS FIRST LIMIT 7)) FROM xp_d PREWHERE toYYYYMM(A) GLOBAL IN (SELECT NULL = (SELECT number FROM numbers(1) ORDER BY number DESC NULLS LAST LIMIT 1), toYYYYMM(min(A)) FROM xp_d) WHERE B > NULL; -- { serverError 8 } SELECT count() FROM xp_d WHERE A GLOBAL IN (SELECT NULL);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:00:11.975627 [ 953 ] {a11f09f4-11d2-48db-8eb6-ccc52698d937} DDLWorker: Query /* ddl_entry=query-0000000011 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:11.976871 [ 4615 ] {a1b316d0-fc52-4c28-991e-83d8bca383a4} TCPHandler: Code: 53. DB::Exception: Received from localhost:9000. DB::Exception: Types of column 1 in section IN don't match: Date on the left, Nothing on the right. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x1e328bf8 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:1221: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x1f2ee05a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2f0799 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x1f2fd972 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x1f304bed in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/RPNBuilder.h:0: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x1f2fffad in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x1f2e8fa2 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:0: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x1f2e96d1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:378: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x1f4723d6 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefb4e0 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:00:12.034509 [ 12571 ] {f118f9ec-8d0f-48f9-a4c0-4e9e9c0a6cc2} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59596) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:12.035497 [ 12571 ] {f118f9ec-8d0f-48f9-a4c0-4e9e9c0a6cc2} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:12.442163 [ 953 ] {ac1378ff-06dc-4514-ae83-5f652599bb5e} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000012 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:12.443145 [ 953 ] {ac1378ff-06dc-4514-ae83-5f652599bb5e} DDLWorker: Query /* ddl_entry=query-0000000012 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:12.543872 [ 1031 ] {7030a37f-4032-4342-b352-55f099a6c16b} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59742) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:12.545652 [ 1031 ] {7030a37f-4032-4342-b352-55f099a6c16b} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:13.473732 [ 953 ] {41d3a141-271a-4569-b621-ec95cd85f0d8} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000014 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:13.474580 [ 953 ] {41d3a141-271a-4569-b621-ec95cd85f0d8} DDLWorker: Query /* ddl_entry=query-0000000014 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:13.881223 [ 12571 ] {56fbc13e-a15d-468f-9eb6-7d80a0ba97cc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60008) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:13.881389 [ 4615 ] {eb272f87-377e-4462-b216-c06b3cc82d8c} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59418) (comment: 01651_bugs_from_15889.sql) (in query: WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT count() > 7 FROM trace_log AS t WHERE (query_id = ( SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE current_database = currentDatabase() AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1 )) AND (symbol LIKE '%Source%');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545015 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540f64 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x1e4c3574 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4beb6d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:00:13.882476 [ 12571 ] {56fbc13e-a15d-468f-9eb6-7d80a0ba97cc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:13.882826 [ 4615 ] {eb272f87-377e-4462-b216-c06b3cc82d8c} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery185)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545015 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540f64 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x1e4c3574 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4beb6d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:00:13.970709 [ 4615 ] {858e6864-7cf4-414b-af2e-e8481dfb47b6} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59418) (comment: 01651_bugs_from_15889.sql) (in query: WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT count() > 0 FROM trace_log AS t WHERE greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ( SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE current_database = currentDatabase() AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1 ));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545015 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540f64 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x1e4c3574 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4beb6d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:00:13.972667 [ 4615 ] {858e6864-7cf4-414b-af2e-e8481dfb47b6} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery186)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545015 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540f64 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e545dcb in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x1e540fbc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1e4ced8f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1e4ceef9 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x1e4c3574 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4beb6d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:00:14.316993 [ 953 ] {cbca784a-71f0-43f1-82e5-d8964a833371} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000015 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:14.318316 [ 953 ] {cbca784a-71f0-43f1-82e5-d8964a833371} DDLWorker: Query /* ddl_entry=query-0000000015 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:14.416811 [ 4617 ] {5a7c0bf8-64fb-4f11-8f12-17519f1dc64d} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60252) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:14.417885 [ 4617 ] {5a7c0bf8-64fb-4f11-8f12-17519f1dc64d} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.270957 [ 953 ] {43fd6c58-7360-4599-936b-be9654a6a9ef} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000017 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.271183 [ 4615 ] {bf3c2f0f-e1d1-4074-bcb8-82f34c947408} executeQuery: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1710867613.427527', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59418) (comment: 01651_bugs_from_15889.sql) (in query: WITH ( ( SELECT query_start_time_microseconds FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS time_with_microseconds, ( SELECT inf, query_start_time FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS t) SELECT if(dateDiff('second', toDateTime(time_with_microseconds), toDateTime(t)) = -9223372036854775808, 'ok', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96e07f in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96cf60 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:00:15.272398 [ 953 ] {43fd6c58-7360-4599-936b-be9654a6a9ef} DDLWorker: Query /* ddl_entry=query-0000000017 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:15.272855 [ 4615 ] {bf3c2f0f-e1d1-4074-bcb8-82f34c947408} TCPHandler: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1710867613.427527', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96e07f in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96cf60 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:00:15.336781 [ 1025 ] {419c7dab-887b-4beb-83d7-0b5a80db3bfc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51660) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.338326 [ 1025 ] {419c7dab-887b-4beb-83d7-0b5a80db3bfc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.736604 [ 953 ] {42174d41-9dae-43ac-a9b9-30001a47a189} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000018 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.737721 [ 953 ] {42174d41-9dae-43ac-a9b9-30001a47a189} DDLWorker: Query /* ddl_entry=query-0000000018 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:15.847139 [ 2732 ] {9bda6595-ad75-4a33-878f-34c80fcfcecc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51740) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:15.848848 [ 2732 ] {9bda6595-ad75-4a33-878f-34c80fcfcecc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:16.745404 [ 953 ] {33425b4d-b83c-458c-b7d9-e896c3d9949f} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000020 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:16.746344 [ 953 ] {33425b4d-b83c-458c-b7d9-e896c3d9949f} DDLWorker: Query /* ddl_entry=query-0000000020 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:16.847516 [ 12010 ] {14f904a2-7d62-4516-ad8e-a54f46f67f54} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51896) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:16.849285 [ 12010 ] {14f904a2-7d62-4516-ad8e-a54f46f67f54} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:17.258159 [ 953 ] {} DDLWorker: , task query-0000000021 will not be executed. 2024.03.19 13:00:17.339548 [ 12010 ] {8653a238-0d6e-4fa2-a528-413df01fb3a4} executeQuery: Code: 341. DB::Exception: There was an error on [localhost:9000]: Cannot execute replicated DDL query, table is dropped or detached permanently. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51956) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:17.341523 [ 12010 ] {8653a238-0d6e-4fa2-a528-413df01fb3a4} TCPHandler: Code: 341. DB::Exception: There was an error on [localhost:9000]: Cannot execute replicated DDL query, table is dropped or detached permanently. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:17.751799 [ 953 ] {6af58798-c9b6-4e3b-948e-dd986461ed4f} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000022 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:17.753070 [ 953 ] {6af58798-c9b6-4e3b-948e-dd986461ed4f} DDLWorker: Query /* ddl_entry=query-0000000022 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:17.858110 [ 12010 ] {a2096c38-2b77-4407-8d91-4eb7780bb15c} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52034) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:17.860211 [ 12010 ] {a2096c38-2b77-4407-8d91-4eb7780bb15c} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:18.225855 [ 953 ] {a43cc062-dd4b-449d-8813-15aef0e5cca0} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000023 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:18.227100 [ 953 ] {a43cc062-dd4b-449d-8813-15aef0e5cca0} DDLWorker: Query /* ddl_entry=query-0000000023 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:18.323451 [ 6032 ] {a0847b95-545b-4d35-a502-7b9bc9a51b42} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52110) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:18.325358 [ 6032 ] {a0847b95-545b-4d35-a502-7b9bc9a51b42} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:19.146087 [ 953 ] {958cbe3f-6d39-4b3e-8099-073583ed258b} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000025 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:19.146809 [ 953 ] {958cbe3f-6d39-4b3e-8099-073583ed258b} DDLWorker: Query /* ddl_entry=query-0000000025 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:19.246638 [ 4593 ] {5787ee37-14ad-45ce-a84f-ceecfe534e7e} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52230) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:19.247721 [ 4593 ] {5787ee37-14ad-45ce-a84f-ceecfe534e7e} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:19.802421 [ 695 ] {} test_eyxnop48.t1 (5dbc9e96-ba1f-4fdf-91ab-650022e5c2a6): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01671_ddl_hang_timeout_long_test_eyxnop48/test_01671/replicas/r_9). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:20.027248 [ 953 ] {6b20c327-c923-41eb-9762-2e519c334836} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000026 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2b95 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x1d27d04f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:635: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d2779fd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.028228 [ 953 ] {6b20c327-c923-41eb-9762-2e519c334836} DDLWorker: Query /* ddl_entry=query-0000000026 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2b95 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x1d27d04f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:635: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d2779fd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:20.067790 [ 4593 ] {d23e2b3f-4f70-4a51-b322-551f725198a9} executeQuery: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)). (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52296) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.068979 [ 4593 ] {d23e2b3f-4f70-4a51-b322-551f725198a9} TCPHandler: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.294607 [ 6032 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:52360). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:20.504322 [ 953 ] {f8bf86cd-a083-4a04-9e9a-b799a8a06a6a} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000027 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.505055 [ 953 ] {f8bf86cd-a083-4a04-9e9a-b799a8a06a6a} DDLWorker: Query /* ddl_entry=query-0000000027 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:20.607361 [ 6032 ] {94cad14a-414d-450e-9955-3211f5f03397} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52416) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.608932 [ 6032 ] {94cad14a-414d-450e-9955-3211f5f03397} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.978030 [ 953 ] {131d2e0b-41a3-488a-bcbd-581c83ff2290} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000028 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:20.978926 [ 953 ] {131d2e0b-41a3-488a-bcbd-581c83ff2290} DDLWorker: Query /* ddl_entry=query-0000000028 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:21.077651 [ 6032 ] {67cf21b1-973a-48be-aa4d-d73597bd2618} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52502) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:21.078975 [ 6032 ] {67cf21b1-973a-48be-aa4d-d73597bd2618} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:21.289543 [ 4103 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55942). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:21.775263 [ 6032 ] {5e9a4355-a9d9-478a-8cf5-e4e8a74ff2aa} executeQuery: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52530) (comment: 01675_data_type_coroutine_2.sh) (in query: SELECT * FROM remote('127.0.0.{1,2}', generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1)) LIMIT 1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c5536 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c4fd1 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202b5056 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:67: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202b49c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c5536 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c647a in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c647a in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 2024.03.19 13:00:21.792656 [ 6032 ] {5e9a4355-a9d9-478a-8cf5-e4e8a74ff2aa} TCPHandler: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c5536 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:59: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c4fd1 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202b5056 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:67: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202b49c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c5536 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c647a in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserDataType.cpp:134: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c647a in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202c6e5e in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 2024.03.19 13:00:21.793538 [ 6032 ] {5e9a4355-a9d9-478a-8cf5-e4e8a74ff2aa} TCPHandler: Client has gone away. 2024.03.19 13:00:21.936311 [ 953 ] {ae9f43b4-29a8-4202-a40a-21e6bfb50d40} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000030 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:21.937171 [ 953 ] {ae9f43b4-29a8-4202-a40a-21e6bfb50d40} DDLWorker: Query /* ddl_entry=query-0000000030 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:22.036762 [ 6032 ] {ebab7676-c02f-4abc-ab7a-1bc55891aa00} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52622) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:22.038113 [ 6032 ] {ebab7676-c02f-4abc-ab7a-1bc55891aa00} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.027913 [ 953 ] {3905a941-ff31-4d83-a364-9730cff0d8c7} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000032 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.029956 [ 953 ] {3905a941-ff31-4d83-a364-9730cff0d8c7} DDLWorker: Query /* ddl_entry=query-0000000032 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:23.129150 [ 11125 ] {2a340ba4-7254-4390-bdc8-d07f6b426fdc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52754) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.130969 [ 11125 ] {2a340ba4-7254-4390-bdc8-d07f6b426fdc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.488004 [ 953 ] {5805ec57-f5ca-4343-abe3-653ac4f7ed32} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000033 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.488840 [ 953 ] {5805ec57-f5ca-4343-abe3-653ac4f7ed32} DDLWorker: Query /* ddl_entry=query-0000000033 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:23.589709 [ 11778 ] {ac993a5a-c281-4eee-a73e-c1153bb43569} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52808) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:23.591340 [ 11778 ] {ac993a5a-c281-4eee-a73e-c1153bb43569} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:24.438204 [ 953 ] {2d870b90-cd25-4dc8-b802-48459dd001ba} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000035 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:24.440691 [ 953 ] {2d870b90-cd25-4dc8-b802-48459dd001ba} DDLWorker: Query /* ddl_entry=query-0000000035 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:24.537387 [ 1026 ] {102846c8-0449-4300-9536-55f187061d2f} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52876) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:24.539066 [ 1026 ] {102846c8-0449-4300-9536-55f187061d2f} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.344357 [ 953 ] {de7ec22b-3e56-4620-932e-0cc8a89af8ee} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000037 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.345516 [ 953 ] {de7ec22b-3e56-4620-932e-0cc8a89af8ee} DDLWorker: Query /* ddl_entry=query-0000000037 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:25.444900 [ 12818 ] {294bce25-e876-4ad7-9865-267f229ea31e} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59610) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.446320 [ 12818 ] {294bce25-e876-4ad7-9865-267f229ea31e} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.804399 [ 953 ] {377e4fea-f94e-4bb6-9e8c-c1ddf47a6a91} executeQuery: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000038 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.805360 [ 953 ] {377e4fea-f94e-4bb6-9e8c-c1ddf47a6a91} DDLWorker: Query /* ddl_entry=query-0000000038 */ ALTER TABLE test_eyxnop48.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47fc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d279f96 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x1d277a62 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x1d2754a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x1d26de09 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x1d287bfc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d287b42 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:25.905516 [ 12839 ] {4392668e-c812-4926-8685-4177678dae90} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59652) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_eyxnop48.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:25.907130 [ 12839 ] {4392668e-c812-4926-8685-4177678dae90} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_eyxnop48.t1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:28.045779 [ 12571 ] {fbecd4e4-ae6a-452a-ba35-b863a589aeab} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59760) (comment: 01602_insert_into_table_function_cluster.sql) (in query: -- More than one shard, sharding key is necessary INSERT INTO FUNCTION cluster('test_cluster_two_shards_localhost', currentDatabase(), x) SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0ee23 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:28.047081 [ 12571 ] {fbecd4e4-ae6a-452a-ba35-b863a589aeab} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0ee23 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:28.088994 [ 12571 ] {b4ccb21d-4407-4761-b199-723eedd3ee70} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59760) (comment: 01602_insert_into_table_function_cluster.sql) (in query: INSERT INTO FUNCTION remote('127.0.0.{1,2}', currentDatabase(), y, '[HIDDEN]') SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0ee23 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:28.089870 [ 12571 ] {b4ccb21d-4407-4761-b199-723eedd3ee70} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ec0ee23 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x1fd6fd11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x1e08e296 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e091638 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:33.717249 [ 4618 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:51312). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:33.718421 [ 1029 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33116). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:33.719776 [ 4103 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47090). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:33.721493 [ 4593 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33416). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:34.708099 [ 1029 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:36166). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:34.709662 [ 4103 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33120). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:34.711466 [ 4593 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47098). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:34.712901 [ 1028 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:33422). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:37.565984 [ 4593 ] {151f33fb-4d67-4f9d-9326-16f1c8fe0d95} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- not a window function select number, abs(number) over (partition by toString(intDiv(number, 3)) rows unbounded preceding) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbf4e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:37.567143 [ 4593 ] {151f33fb-4d67-4f9d-9326-16f1c8fe0d95} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbf4e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.142288 [ 4593 ] {eb95bb65-58b3-4f65-98a1-c0fc1cb9901f} executeQuery: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: select lagInFrameOrNull(1) over ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::fail() const @ 0x1fd5a82a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x1fd58e3a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x189879b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:948: DB::WindowTransform::updateAggregationState() @ 0x1fd4d95b in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e2b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.142995 [ 4593 ] {eb95bb65-58b3-4f65-98a1-c0fc1cb9901f} TCPHandler: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::fail() const @ 0x1fd5a82a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x1fd58e3a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x189879b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:948: DB::WindowTransform::updateAggregationState() @ 0x1fd4d95b in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e2b0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.476438 [ 4593 ] {6a42c7d4-1619-40e3-9bda-a34592eb5517} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- nth_value UBsan SELECT nth_value(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.477777 [ 4593 ] {6a42c7d4-1619-40e3-9bda-a34592eb5517} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.492300 [ 4593 ] {0eb4a605-8209-474f-b06b-cc5c24495dff} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, 0) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.493052 [ 4593 ] {0eb4a605-8209-474f-b06b-cc5c24495dff} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.509831 [ 4593 ] {b00bc339-98bb-4a3d-be36-39e70da0ac87} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.510692 [ 4593 ] {b00bc339-98bb-4a3d-be36-39e70da0ac87} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e5a5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd5e7ae in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.755668 [ 4593 ] {208763d4-bca6-48f3-aea3-b49f12cf046c} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- lagInFrame UBsan SELECT lagInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd601da in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd603ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.756663 [ 4593 ] {208763d4-bca6-48f3-aea3-b49f12cf046c} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd601da in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd603ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.787790 [ 4593 ] {7be2e884-5dc9-450e-887f-8554720c2b75} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: SELECT lagInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd601da in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd603ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:40.788499 [ 4593 ] {7be2e884-5dc9-450e-887f-8554720c2b75} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd601da in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd603ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.040302 [ 4593 ] {2769eb1c-bfde-4582-8ad0-ace977121dde} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- leadInFrame UBsan SELECT leadInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61c37 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61e4e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.041190 [ 4593 ] {2769eb1c-bfde-4582-8ad0-ace977121dde} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61c37 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61e4e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.069281 [ 4593 ] {d7685797-93e7-48e5-ad88-57ea398972d1} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: SELECT leadInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61c37 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61e4e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.070117 [ 4593 ] {d7685797-93e7-48e5-ad88-57ea398972d1} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x1fd5e8da in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61c37 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x1fd61e4e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x1fd4e481 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1416: DB::WindowTransform::work() @ 0x1fd52e83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.480763 [ 4593 ] {f7f784d9-f579-4f93-822d-a1fc15d16517} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- nth_value Msan SELECT nth_value(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5decf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5d78d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd5422e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.481870 [ 4593 ] {f7f784d9-f579-4f93-822d-a1fc15d16517} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5decf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5d78d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd5422e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.866145 [ 4593 ] {05417d8b-58f5-4118-9799-7f1cc7ddcfb3} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- lagInFrame Msan SELECT lagInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5f542 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5ea6d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd5428e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:41.867281 [ 4593 ] {05417d8b-58f5-4118-9799-7f1cc7ddcfb3} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5f542 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd5ea6d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd5428e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:42.256516 [ 4593 ] {a4340379-eda2-48c1-ae48-bc6950fe96a0} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- leadInFrame Msan SELECT leadInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd60f62 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd6048d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd542ee in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:42.257758 [ 4593 ] {a4340379-eda2-48c1-ae48-bc6950fe96a0} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd60f62 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x1fd6048d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x1fd542ee in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd89ea in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:42.662822 [ 1031 ] {ca0dd7be-8e51-48e8-9785-7c1c9881ca0c} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc82c132 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc81cbce in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81baa5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81ad60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:42.988424 [ 4593 ] {c4e46929-821e-48e4-98b2-b8bcc6ec306f} executeQuery: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- negative offsets should not be allowed select count() over (order by toInt64(number) range between -1 preceding and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd49741 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:42.988585 [ 1031 ] {ca0dd7be-8e51-48e8-9785-7c1c9881ca0c} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc82c132 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc81cbce in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81baa5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81ad60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:42.989535 [ 4593 ] {c4e46929-821e-48e4-98b2-b8bcc6ec306f} TCPHandler: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd49741 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:43.395915 [ 1031 ] {959ba64c-d2ce-4d08-a1c3-50e1673a2c2e} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc8508f6 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc843c15 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc842ae5 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc841da0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:43.396030 [ 4593 ] {6c6dbdba-dae0-4458-9173-5cc96a2d4604} executeQuery: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between -1 following and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd49741 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:43.397993 [ 4593 ] {6c6dbdba-dae0-4458-9173-5cc96a2d4604} TCPHandler: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd49741 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:43.398183 [ 1031 ] {959ba64c-d2ce-4d08-a1c3-50e1673a2c2e} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc8508f6 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc843c15 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc842ae5 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc841da0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:43.817684 [ 1031 ] {78e6e628-e095-4db4-9e62-3c045abeacd6} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc873660 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc86706e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865f45 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865200 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.145756 [ 4593 ] {9cd53915-0293-4ba8-b7a0-8c4c417c5103} executeQuery: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 preceding) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd497b2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:44.146113 [ 1031 ] {78e6e628-e095-4db4-9e62-3c045abeacd6} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc873660 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc86706e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865f45 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865200 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.146957 [ 4593 ] {9cd53915-0293-4ba8-b7a0-8c4c417c5103} TCPHandler: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd497b2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:44.155210 [ 1031 ] {605357bc-26a7-4a4c-92f6-9ef343f51f25} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc82c132 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc81cbce in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81baa5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81ad60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.156639 [ 1031 ] {605357bc-26a7-4a4c-92f6-9ef343f51f25} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc82c132 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc81cbce in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81baa5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc81ad60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.159405 [ 4593 ] {3d5a2995-14e5-411f-8468-e2c6a60aaa2f} executeQuery: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd497b2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:44.160389 [ 4593 ] {3d5a2995-14e5-411f-8468-e2c6a60aaa2f} TCPHandler: Code: 36. DB::Exception: Window frame start offset must be nonnegative, -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::Field&) @ 0x1f876c4a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::WindowTransform(DB::Block const&, DB::Block const&, DB::WindowDescription const&, std::vector> const&) @ 0x1fd497b2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&)>::__call_impl (DB::Block const&)>>(std::__function::__policy_storage const*, DB::Block const&) @ 0x1ff68619 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&)> const&)::$_2, std::shared_ptr (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x1cc80413 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:0: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x1cc7d2b2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x1cc7cf5d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::Pipe::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc7d7fa in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:129: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&)> const&) @ 0x1cc9628d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::WindowStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff67016 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb9550 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e125586 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:44.164018 [ 1031 ] {8283494c-1641-48de-a6ba-8928c797f1b5} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc8508f6 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc843c15 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc842ae5 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc841da0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.165283 [ 1031 ] {8283494c-1641-48de-a6ba-8928c797f1b5} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc8508f6 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc843c15 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc842ae5 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc841da0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.172933 [ 1031 ] {1c74d245-b63d-426d-9c76-416ffdc9b322} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc873660 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc86706e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865f45 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865200 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.174458 [ 1031 ] {1c74d245-b63d-426d-9c76-416ffdc9b322} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc873660 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc86706e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865f45 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc865200 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.581461 [ 1031 ] {4fb666b5-16c0-4ab5-97d8-48fcbfd0658f} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc752c12 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc74416e in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:44.582874 [ 1031 ] {4fb666b5-16c0-4ab5-97d8-48fcbfd0658f} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc752c12 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc74416e in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.000787 [ 1031 ] {cd8466ab-3ba8-4403-8740-92db6da07e57} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc79a3f8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc78dd4e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78cc25 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78bee0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.002198 [ 1031 ] {cd8466ab-3ba8-4403-8740-92db6da07e57} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc79a3f8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc78dd4e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78cc25 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78bee0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.009754 [ 1031 ] {cd4f91e7-2001-4875-9149-b94c43d14dbd} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc752c12 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc74416e in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.010827 [ 1031 ] {cd4f91e7-2001-4875-9149-b94c43d14dbd} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc752c12 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc74416e in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.018822 [ 1031 ] {6a42e5df-2f1d-4e34-88e1-8b1604de78e6} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57302) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc79a3f8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc78dd4e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78cc25 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78bee0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.020165 [ 1031 ] {6a42e5df-2f1d-4e34-88e1-8b1604de78e6} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0xc6cea42 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc79a3f8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc78dd4e in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78cc25 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc78bee0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:00:45.427601 [ 4593 ] {3d9320aa-1163-46b5-95ac-af57137d8289} executeQuery: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- -INT_MIN row offset that can lead to problems with negation, found when fuzzing -- under UBSan. Should be limited to at most INT_MAX. select count() over (rows between 2147483648 preceding and 2147493648 following) from numbers(2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x1e551f53 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x1e551896 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe0dfe in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:45.428707 [ 4593 ] {3d9320aa-1163-46b5-95ac-af57137d8289} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x1e551f53 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x1e551896 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe0dfe in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:45.801125 [ 4593 ] {c807963d-6a36-4ea1-9685-d35b1309ee8b} executeQuery: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- can't redefine PARTITION BY select count() over (w partition by number) from numbers(1) window w as (partition by intDiv(number, 5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3a8d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:46.080210 [ 1031 ] {bb23ea46-0181-4c8d-a084-84bf696af9c6} executeQuery: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43168) (comment: 01571_window_functions.sql) (in query: -- signed and unsigned in offset do not cause logical error select count() over (rows between 2 following and 1 + -1 following) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x1e55214d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:183: DB::WindowFrame::checkValid() const @ 0x1e551ab3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:201: DB::WindowDescription::checkValid() const @ 0x1e551b89 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x1ff6689e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x1e0d4c02 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c7f63 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:46.080370 [ 4593 ] {c807963d-6a36-4ea1-9685-d35b1309ee8b} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3a8d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:46.081313 [ 1031 ] {bb23ea46-0181-4c8d-a084-84bf696af9c6} TCPHandler: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x1e55214d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:183: DB::WindowFrame::checkValid() const @ 0x1e551ab3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:201: DB::WindowDescription::checkValid() const @ 0x1e551b89 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x1ff6689e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x1e0d4c02 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c7f63 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:46.752122 [ 4593 ] {ab2a3512-a30f-46a6-b893-e1a14c0879be} executeQuery: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- can't redefine existing ORDER BY select count() over (w order by number) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3bf7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:46.754775 [ 4593 ] {ab2a3512-a30f-46a6-b893-e1a14c0879be} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3bf7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:47.111330 [ 4593 ] {eaabb5f6-4033-421a-ba50-0dc35079ea74} executeQuery: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- parent window can't have frame select count() over (w range unbounded preceding) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3) rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3b44 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:47.112831 [ 4593 ] {eaabb5f6-4033-421a-ba50-0dc35079ea74} TCPHandler: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc3b44 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe06f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:47.502835 [ 4593 ] {d4bd8da2-25c1-4af7-897c-e37817cc1bde} executeQuery: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57134) (comment: 01591_window_functions.sql) (in query: -- nonexistent parent window select count() over (w2 rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0xe72843d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe2218 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:47.504013 [ 4593 ] {d4bd8da2-25c1-4af7-897c-e37817cc1bde} TCPHandler: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0xe72843d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfe2218 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4922: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfd8a6d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:48.997504 [ 12818 ] {5d497f3e-0d8d-4e49-84ba-40313e5cb25d} executeQuery: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43280) (comment: 01557_field_infinite_convert_to_number.sql) (in query: SET max_threads = nan;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x131e9e75 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x153b8e46 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:0: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x1cbe1861 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:687: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda25'(DB::Field const&)::__invoke(DB::Field const&) @ 0x1ca1b726 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:957: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x1c7bc459 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:247: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa61 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:48.998553 [ 12818 ] {5d497f3e-0d8d-4e49-84ba-40313e5cb25d} TCPHandler: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x131e9e75 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x153b8e46 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:0: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x1cbe1861 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:687: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda25'(DB::Field const&)::__invoke(DB::Field const&) @ 0x1ca1b726 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:957: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x1c7bc459 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:247: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa61 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:49.735335 [ 12818 ] {ea7b182a-88bc-4e87-a639-17119bc29b76} executeQuery: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43308) (comment: 01559_misplaced_codec_diagnostics.sh) (in query: CREATE TABLE t (c CODEC(NONE)) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x1ccdf363 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0a8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:49.737609 [ 12818 ] {ea7b182a-88bc-4e87-a639-17119bc29b76} TCPHandler: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x1ccdf363 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0a8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.092335 [ 12818 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:50.497528 [ 12818 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:50.497579 [ 12571 ] {3abc21ac-eba8-45b9-a135-cb55e8229b9d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.936766 [ 12571 ] {3abc21ac-eba8-45b9-a135-cb55e8229b9d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.936814 [ 11125 ] {d7712a7e-343a-4c09-996c-dfd3d8e2f433} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/529/529361c3-aa5f-494b-af9c-67f6dbf55669/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43340) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:417: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7feabd in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:399: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202293 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.938313 [ 11125 ] {d7712a7e-343a-4c09-996c-dfd3d8e2f433} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/529/529361c3-aa5f-494b-af9c-67f6dbf55669/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:417: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7feabd in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:399: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202293 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.952236 [ 12571 ] {3c482dc9-1479-4f2f-b952-55d4ab53a67d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSON settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.952999 [ 12571 ] {3c482dc9-1479-4f2f-b952-55d4ab53a67d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.962360 [ 12571 ] {8b740965-5d81-4910-af57-6fe163fae06d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT TSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.962964 [ 12571 ] {8b740965-5d81-4910-af57-6fe163fae06d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.971669 [ 12571 ] {4d2a626e-1be8-40bb-be4f-ee28f215989d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT CSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.972274 [ 12571 ] {4d2a626e-1be8-40bb-be4f-ee28f215989d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:50.975332 [ 12818 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:50.976472 [ 12818 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:51.397856 [ 12571 ] {7909e628-a312-49c8-983b-d1eea3681c9f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSONCompactEachRowWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.397872 [ 11125 ] {04f15799-6d59-4301-ab79-606afe48bfd8} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/529/529361c3-aa5f-494b-af9c-67f6dbf55669/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:424: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7fed97 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/StorageDistributed.cpp:1776: DB::StorageDistributed::flush() @ 0x1ec1ab14 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/IStorage.h:544: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c375 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:51.399314 [ 12571 ] {7909e628-a312-49c8-983b-d1eea3681c9f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.412326 [ 12571 ] {643cbca4-3eae-469f-ad81-da2b2615c68e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT XML settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.413135 [ 12571 ] {643cbca4-3eae-469f-ad81-da2b2615c68e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.429318 [ 12571 ] {096e8d87-318d-4004-94eb-79a786ecc66d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43372) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.430148 [ 12571 ] {096e8d87-318d-4004-94eb-79a786ecc66d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:51.435179 [ 12828 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:51.436572 [ 12828 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:51.710876 [ 834 ] {} test_96gwwjbh.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/092/092085bf-9f82-48cb-b6d3-e1eb5421d4a3/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:424: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7fed97 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:399: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202293 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x1f2027e9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x1f20b482 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 19. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:52.123220 [ 12828 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:52.123726 [ 6031 ] {4e0bfec3-a184-4cff-8c40-3c98dff125fc} executeQuery: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43420) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('unparsable');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. gd::readDigit(DB::ReadBuffer&) @ 0x13474067 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x13475d09 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:00:52.124579 [ 12828 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:52.125095 [ 6031 ] {4e0bfec3-a184-4cff-8c40-3c98dff125fc} TCPHandler: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. gd::readDigit(DB::ReadBuffer&) @ 0x13474067 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x13475d09 in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:00:52.526256 [ 12818 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:52.526485 [ 11125 ] {2e4e9773-f21d-49ae-84ac-c65656c015de} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/092/092085bf-9f82-48cb-b6d3-e1eb5421d4a3/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43340) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:424: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7fed97 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:52.922694 [ 11125 ] {2e4e9773-f21d-49ae-84ac-c65656c015de} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/092/092085bf-9f82-48cb-b6d3-e1eb5421d4a3/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:424: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7fed97 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:965: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x1e19c2a7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:528: DB::InterpreterSystemQuery::execute() @ 0x1e18ee76 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:52.922837 [ 6031 ] {363035a0-c56c-44f6-aeb1-f10135fd086a} executeQuery: Code: 38. DB::Exception: Invalid date: 1999-02-29: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43420) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-02-29');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x1347611b in /usr/bin/clickhouse 4. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:52.922903 [ 12818 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:52.924213 [ 6031 ] {363035a0-c56c-44f6-aeb1-f10135fd086a} TCPHandler: Code: 38. DB::Exception: Invalid date: 1999-02-29: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x1347611b in /usr/bin/clickhouse 4. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:53.181549 [ 850 ] {} test_96gwwjbh.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/092/092085bf-9f82-48cb-b6d3-e1eb5421d4a3/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:417: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7feabd in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x1f2027e9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x1f20b482 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 19. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:53.181956 [ 6031 ] {0b146f81-3cb1-4f22-86b3-458935505f4c} executeQuery: Code: 38. DB::Exception: Invalid date: 1999-13-32: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43420) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-13-32');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x1347611b in /usr/bin/clickhouse 4. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:53.183617 [ 6031 ] {0b146f81-3cb1-4f22-86b3-458935505f4c} TCPHandler: Code: 38. DB::Exception: Invalid date: 1999-13-32: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x1347611b in /usr/bin/clickhouse 4. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13475a06 in /usr/bin/clickhouse 5. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:00:53.186929 [ 4074 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x1c739e30 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739b0a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c739904 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x1c76f3e6 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x1c73985c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c644134 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:53.188191 [ 4074 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:53.190101 [ 11125 ] {db35fed0-b347-403a-89d2-8103824d4534} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x1c6444f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:0: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x1e30f519 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x1e30ee62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x1f936d34 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92e504 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? : While sending /var/lib/clickhouse/store/092/092085bf-9f82-48cb-b6d3-e1eb5421d4a3/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receiveHello() @ 0x1f7fd88e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:173: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbdd2 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:424: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x1f7fed97 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:48: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81eea2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*) @ 0x1f813eba in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x1f81419f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f8157f8 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:209: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x1f814cd2 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:0: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x1f812bf1 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:432: DB::DistributedAsyncInsertDirectoryQueue::processFile(String const&) @ 0x1f208065 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x1f202260 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x1f201f8c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x1ec1af20 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/StorageDistributed.cpp:1776: DB::StorageDistributed::flush() @ 0x1ec1ab14 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/IStorage.h:544: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c375 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:00:53.739921 [ 4074 ] {6187b3cf-486c-4035-bc9f-90fb8ebe260c} executeQuery: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:973: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f4779ee in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.741321 [ 4074 ] {6187b3cf-486c-4035-bc9f-90fb8ebe260c} TCPHandler: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:973: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f4779ee in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.753130 [ 4074 ] {4d58ae07-c606-47ae-9b33-fa02d027166f} executeQuery: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.754181 [ 4074 ] {4d58ae07-c606-47ae-9b33-fa02d027166f} TCPHandler: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.762902 [ 4074 ] {ea4eec83-d9a7-42d8-97fe-9a7df1b66886} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.764436 [ 4074 ] {ea4eec83-d9a7-42d8-97fe-9a7df1b66886} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.844209 [ 4074 ] {3e9b3ea2-ac9a-43d4-b007-e82925bcf1d4} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_idx,d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.845195 [ 4074 ] {3e9b3ea2-ac9a-43d4-b007-e82925bcf1d4} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.857209 [ 4074 ] {59baa0b3-087d-4031-be1e-151ad78e849f} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.858129 [ 4074 ] {59baa0b3-087d-4031-be1e-151ad78e849f} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.869940 [ 4074 ] {8aa4d547-0156-4f37-9a43-42238ef4378f} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx,,';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.870866 [ 4074 ] {8aa4d547-0156-4f37-9a43-42238ef4378f} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.882423 [ 4074 ] {b14b78a8-d92d-4e77-a097-1c535b03e78e} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.883395 [ 4074 ] {b14b78a8-d92d-4e77-a097-1c535b03e78e} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.897269 [ 4074 ] {1eb69048-2557-497d-a775-e0a75814cb2b} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' `d1_null_idx`,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.898639 [ 4074 ] {1eb69048-2557-497d-a775-e0a75814cb2b} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.912710 [ 4074 ] {1a868dd7-d15c-457a-b883-e7f7194b337f} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.914052 [ 4074 ] {1a868dd7-d15c-457a-b883-e7f7194b337f} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.927836 [ 4074 ] {36c35547-0cd6-407e-ba5f-ef50b3a49a60} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx ';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.928925 [ 4074 ] {36c35547-0cd6-407e-ba5f-ef50b3a49a60} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.941116 [ 4074 ] {204dfad1-f129-4fee-b76b-90edc161af1b} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43522) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1_null = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:53.942333 [ 4074 ] {204dfad1-f129-4fee-b76b-90edc161af1b} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x1f47794b in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fefc08e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x1fef9e68 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x1fef918d in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x1feffaeb in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff01ff6 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.456122 [ 2732 ] {e03093df-1959-45b5-8497-fad88b8801db} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72122 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.457411 [ 2732 ] {e03093df-1959-45b5-8497-fad88b8801db} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72122 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.694977 [ 2732 ] {d685bb56-9b13-4e14-902a-a07a1db31074} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb7201b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.956741 [ 4616 ] {ce564eeb-5eb3-49bd-8943-b949b016a576} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: -- just nothing happened ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71cbc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.957264 [ 2732 ] {d685bb56-9b13-4e14-902a-a07a1db31074} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb7201b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:56.958281 [ 4616 ] {ce564eeb-5eb3-49bd-8943-b949b016a576} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71cbc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:57.596276 [ 4616 ] {b47e8a88-838d-4284-8612-067affd5c41f} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71bef in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:57.819664 [ 4616 ] {b47e8a88-838d-4284-8612-067affd5c41f} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71bef in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:57.819703 [ 2732 ] {26f71344-6335-49b1-97d4-efd5adf9e528} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72229 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:57.821300 [ 2732 ] {26f71344-6335-49b1-97d4-efd5adf9e528} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72229 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:57.828914 [ 2732 ] {96cb92b6-2981-4818-8a13-a7ebcf460c5f} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb7201b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.053536 [ 4616 ] {f2704e0d-e396-40e8-8930-011e1efc5c97} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71b22 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.053690 [ 2732 ] {96cb92b6-2981-4818-8a13-a7ebcf460c5f} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb7201b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.054480 [ 4616 ] {f2704e0d-e396-40e8-8930-011e1efc5c97} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71b22 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.279960 [ 4616 ] {b1f2174a-2ab4-400f-abf1-3fc8419044ee} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71e4a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.280021 [ 2732 ] {c97bf5bd-1f40-4e7f-abf1-45591cf774e9} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72229 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.346855 [ 4616 ] {b1f2174a-2ab4-400f-abf1-3fc8419044ee} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71e4a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.346974 [ 2732 ] {c97bf5bd-1f40-4e7f-abf1-45591cf774e9} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72229 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.586062 [ 4616 ] {557606f9-6b0a-4163-84eb-f27b7756a6cd} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71f13 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:58.586256 [ 2732 ] {ee87c2ec-96db-41f1-9246-4654bcd5c8dd} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37162) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72122 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.032041 [ 4616 ] {557606f9-6b0a-4163-84eb-f27b7756a6cd} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71f13 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.032048 [ 4619 ] {898f7922-4962-48be-8c8e-212627bdecbc} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37324) (comment: 01474_bad_global_join.sql) (in query: SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:99: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x1d3492bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:263: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x1d34736e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:202: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1d346014 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x1d317942 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d317288 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.032080 [ 2732 ] {ee87c2ec-96db-41f1-9246-4654bcd5c8dd} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb72122 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.033424 [ 4619 ] {898f7922-4962-48be-8c8e-212627bdecbc} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:99: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x1d3492bc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:263: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x1d34736e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:202: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x1d346014 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x1d34a2a3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x1d317942 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d317288 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 28. ? @ 0x7f8b832b7609 in ? 29. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.262997 [ 4616 ] {406f097f-6440-4f26-b808-91d22567ab35} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.264094 [ 4616 ] {406f097f-6440-4f26-b808-91d22567ab35} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.499809 [ 4616 ] {067e216b-f0a3-4e3a-8abe-4d34f4be6302} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.898815 [ 4616 ] {067e216b-f0a3-4e3a-8abe-4d34f4be6302} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:00:59.898886 [ 11869 ] {022154a5-c0f4-4390-add0-2daf8188b9b8} executeQuery: Code: 43. DB::Exception: Function toStartOfDay supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfDay(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfDay(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134a3918 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:00:59.900321 [ 11869 ] {022154a5-c0f4-4390-add0-2daf8188b9b8} TCPHandler: Code: 43. DB::Exception: Function toStartOfDay supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfDay(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134a3918 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:00.320297 [ 11869 ] {127d4ab2-781d-4f8f-964f-3b89d4a9045f} executeQuery: Code: 43. DB::Exception: Function toStartOfMonth supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfMonth(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfMonth(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134c592e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:00.536274 [ 4618 ] {f7c09c9c-22df-4a23-88a3-d1c338c71f09} executeQuery: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37420) (comment: 01461_alter_table_function.sql) (in query: ALTER TABLE table_from_numbers ADD COLUMN col UInt8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x1c5b2c4d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1ebc267a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.536328 [ 4616 ] {c837938a-bea8-4084-9168-a5205da67af6} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71cbc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.536669 [ 11869 ] {127d4ab2-781d-4f8f-964f-3b89d4a9045f} TCPHandler: Code: 43. DB::Exception: Function toStartOfMonth supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfMonth(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134c592e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:00.537284 [ 4618 ] {f7c09c9c-22df-4a23-88a3-d1c338c71f09} TCPHandler: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x1c5b2c4d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1ebc267a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.537292 [ 4616 ] {c837938a-bea8-4084-9168-a5205da67af6} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71cbc in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.543612 [ 4616 ] {bc8ed1d8-85be-43eb-b363-1aedeb12fb90} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71bef in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.544374 [ 4616 ] {bc8ed1d8-85be-43eb-b363-1aedeb12fb90} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71bef in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.552863 [ 4616 ] {a0cb0bdf-1aef-4b10-90b0-6c64ca234a3a} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71b22 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.554071 [ 4616 ] {a0cb0bdf-1aef-4b10-90b0-6c64ca234a3a} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71b22 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.904011 [ 11869 ] {b8e0bed5-1b06-4e55-a0dc-e1e46ef3322f} executeQuery: Code: 43. DB::Exception: Function toStartOfQuarter supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfQuarter(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfQuarter(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134c9cce in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:00.904050 [ 4616 ] {0addf4c0-4770-402c-9314-8f86403310d4} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71e4a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.905456 [ 11869 ] {b8e0bed5-1b06-4e55-a0dc-e1e46ef3322f} TCPHandler: Code: 43. DB::Exception: Function toStartOfQuarter supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfQuarter(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134c9cce in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:00.906165 [ 4616 ] {0addf4c0-4770-402c-9314-8f86403310d4} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71e4a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.915903 [ 4616 ] {c45c890f-c3c9-4631-8158-eea60d4ad0a2} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71f13 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.917224 [ 4616 ] {c45c890f-c3c9-4631-8158-eea60d4ad0a2} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71f13 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.923245 [ 4616 ] {ebed0605-7b35-4b40-b21b-5a74645a24f2} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:00.924273 [ 4616 ] {ebed0605-7b35-4b40-b21b-5a74645a24f2} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.300755 [ 11869 ] {7f7e3d40-3d18-419e-bb6b-ab7059d48f19} executeQuery: Code: 43. DB::Exception: Function toStartOfYear supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfYear(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfYear(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134dcf2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:01.301939 [ 11869 ] {7f7e3d40-3d18-419e-bb6b-ab7059d48f19} TCPHandler: Code: 43. DB::Exception: Function toStartOfYear supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfYear(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x134dcf2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:01.307915 [ 4616 ] {5f09d1b7-89b3-40a8-867b-3a9fb0457307} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.309079 [ 4616 ] {5f09d1b7-89b3-40a8-867b-3a9fb0457307} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.325932 [ 4616 ] {f01337db-1723-4e5a-acca-7a1c9ec3dc3c} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ttl;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.701498 [ 4616 ] {f01337db-1723-4e5a-acca-7a1c9ec3dc3c} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71d83 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.701571 [ 11869 ] {fe70410c-0ad7-4e66-8671-c315803d345a} executeQuery: Code: 43. DB::Exception: Function toStartOfTenMinutes supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfTenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfTenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134d8f18 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:01.703453 [ 11869 ] {fe70410c-0ad7-4e66-8671-c315803d345a} TCPHandler: Code: 43. DB::Exception: Function toStartOfTenMinutes supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfTenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134d8f18 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:01.708736 [ 4616 ] {af565c9a-969c-4aaa-9bea-cf6ee3f16ba1} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37196) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table remove TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:01.709518 [ 4616 ] {af565c9a-969c-4aaa-9bea-cf6ee3f16ba1} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70ff3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:02.328881 [ 11869 ] {37a666c6-1410-4c7b-aa28-dad875a2e9d8} executeQuery: Code: 43. DB::Exception: Function toStartOfFifteenMinutes supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfFifteenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfFifteenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134a7cd8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:02.331281 [ 11869 ] {37a666c6-1410-4c7b-aa28-dad875a2e9d8} TCPHandler: Code: 43. DB::Exception: Function toStartOfFifteenMinutes supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfFifteenMinutes(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134a7cd8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:02.756605 [ 11869 ] {64730411-9b8d-4a99-8acd-df35d7d9f1f0} executeQuery: Code: 43. DB::Exception: Function toStartOfHour supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfHour(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfHour(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134afad8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:02.997092 [ 1028 ] {4c3cbd5b-8ef8-4cd2-8801-4c9037f469c5} executeQuery: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37504) (comment: 01455_default_compression.sql) (in query: ALTER TABLE compress_table MODIFY COLUMN value2 CODEC(Default(5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df58992 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb6e076 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:02.997306 [ 11869 ] {64730411-9b8d-4a99-8acd-df35d7d9f1f0} TCPHandler: Code: 43. DB::Exception: Function toStartOfHour supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfHour(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134afad8 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:02.998364 [ 1028 ] {4c3cbd5b-8ef8-4cd2-8801-4c9037f469c5} TCPHandler: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df58992 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb6e076 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:03.401798 [ 11869 ] {7e0e97c7-5bf3-48b9-9445-db99e03dd21d} executeQuery: Code: 43. DB::Exception: Function toStartOfMinute supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfMinute(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37374) (comment: 01472_toStartOfInterval_disallow_empty_tz_field.sql) (in query: SELECT toStartOfMinute(toDateTime('2017-12-31 00:00:00', 'UTC'), '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134c1878 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:03.403126 [ 11869 ] {7e0e97c7-5bf3-48b9-9445-db99e03dd21d} TCPHandler: Code: 43. DB::Exception: Function toStartOfMinute supports a 2nd argument (optional) that must be a valid time zone: While processing toStartOfMinute(toDateTime('2017-12-31 00:00:00', 'UTC'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x134c1878 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:05.332171 [ 1028 ] {57b27acb-3e2d-4383-82d0-ca63c3684115} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59380) (comment: 01435_lcm_overflow.sql) (in query: SELECT ignore(lcm(-256, 9223372036854775807));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0xf1bcf43 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x108321a9 in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1088a707 in /usr/bin/clickhouse 5. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1084d51c in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1084bc01 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1084a07e in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:01:05.333770 [ 1028 ] {57b27acb-3e2d-4383-82d0-ca63c3684115} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0xf1bcf43 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x108321a9 in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1088a707 in /usr/bin/clickhouse 5. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1084d51c in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1084bc01 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1084a07e in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:01:06.168947 [ 1029 ] {f36f0b68-15ac-41fc-b195-59aaa10cd370} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toUInt8(number) as dt FROM numbers(3)) a ASOF LEFT JOIN (SELECT 1 as pk, toNullable(0) as dt) b USING(pk, dt) ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.170606 [ 1029 ] {f36f0b68-15ac-41fc-b195-59aaa10cd370} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.194769 [ 1029 ] {dcd9e804-f0b5-40ab-b381-859695c4120c} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toNullable(toUInt8(number)) as dt FROM numbers(3)) a ASOF LEFT JOIN (SELECT 1 as pk, toNullable(0) as dt) b USING(pk, dt) ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.195863 [ 1029 ] {dcd9e804-f0b5-40ab-b381-859695c4120c} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.854988 [ 1029 ] {83a17ff4-9928-4e4a-ab79-a2dcdba4c78b} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toUInt8(number) as dt FROM numbers(3)) a ASOF LEFT JOIN (SELECT 1 as pk, toNullable(0) as dt) b ON a.pk = b.pk AND a.dt >= b.dt ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.858396 [ 1029 ] {83a17ff4-9928-4e4a-ab79-a2dcdba4c78b} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.890232 [ 1029 ] {9c6e4118-2531-46dc-af9d-f020fcfb2db4} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toNullable(toUInt8(number)) as dt FROM numbers(3)) a ASOF LEFT JOIN (SELECT 1 as pk, toNullable(0) as dt) b ON a.dt >= b.dt AND a.pk = b.pk ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:06.891742 [ 1029 ] {9c6e4118-2531-46dc-af9d-f020fcfb2db4} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.010321 [ 1029 ] {eb60e089-c57e-49ee-aec9-ce7fcc821c12} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toUInt8(number) as dt FROM numbers(3)) a ASOF JOIN (SELECT 1 as pk, toNullable(0) as dt) b USING(pk, dt) ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.011691 [ 1029 ] {eb60e089-c57e-49ee-aec9-ce7fcc821c12} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.032942 [ 1029 ] {f9e6bd12-1cfd-433b-aa61-c7f4b5b20477} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toNullable(toUInt8(number)) as dt FROM numbers(3)) a ASOF JOIN (SELECT 1 as pk, toNullable(0) as dt) b USING(pk, dt) ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.034178 [ 1029 ] {f9e6bd12-1cfd-433b-aa61-c7f4b5b20477} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType(DB::NamesAndTypesList const&, DB::NamesAndTypesList const&, bool, bool) @ 0x1e47a0a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: void DB::TableJoin::addJoinedColumnsAndCorrectTypesImpl(DB::NamesAndTypesList&, bool) @ 0x1e4765db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TableJoin.cpp:343: DB::TableJoin::addJoinedColumnsAndCorrectTypes(DB::NamesAndTypesList&, bool) @ 0x1e47068a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::ExpressionAnalyzer::analyzeJoin(std::shared_ptr&, DB::NamesAndTypesList const&) @ 0x1d318383 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3173f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.163775 [ 1029 ] {f2b91c20-3d35-46aa-aa48-3b0113d87beb} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toUInt8(number) as dt FROM numbers(3)) a ASOF JOIN (SELECT 1 as pk, toNullable(0) as dt) b ON a.pk = b.pk AND a.dt >= b.dt ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.166346 [ 1029 ] {f2b91c20-3d35-46aa-aa48-3b0113d87beb} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.192855 [ 1029 ] {80faf48e-976a-4707-95ea-297bc69ab69c} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toNullable(toUInt8(number)) as dt FROM numbers(3)) a ASOF JOIN (SELECT 1 as pk, toNullable(0) as dt) b ON a.pk = b.pk AND a.dt >= b.dt ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.194236 [ 1029 ] {80faf48e-976a-4707-95ea-297bc69ab69c} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.219295 [ 1029 ] {0a894371-b476-4bd6-b47a-5302526fb8de} executeQuery: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59436) (comment: 01428_nullable_asof_join.sql) (in query: SELECT a.pk, b.pk, a.dt, b.dt, toTypeName(a.pk), toTypeName(b.pk), toTypeName(materialize(a.dt)), toTypeName(materialize(b.dt)) FROM (SELECT toUInt8(number) > 0 as pk, toNullable(toUInt8(number)) as dt FROM numbers(3)) a ASOF JOIN (SELECT 1 as pk, toNullable(0) as dt) b ON a.dt >= b.dt AND a.pk = b.pk ORDER BY a.dt;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.220528 [ 1029 ] {0a894371-b476-4bd6-b47a-5302526fb8de} TCPHandler: Code: 48. DB::Exception: ASOF join over right table Nullable column is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TableJoin.cpp:500: void DB::TableJoin::inferJoinKeyCommonType>, std::vector>>(std::vector> const&, std::vector> const&, bool, bool) @ 0x1e477b87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TableJoin.cpp:0: DB::TableJoin::createConvertingActions(std::vector> const&, std::vector> const&) @ 0x1e47097e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x1d325974 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x1d323590 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3326a4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.936526 [ 6032 ] {12e41709-069a-46a8-86bb-21b2bd404342} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59518) (comment: 01422_map_skip_null.sql) (in query: select minMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.939330 [ 6032 ] {12e41709-069a-46a8-86bb-21b2bd404342} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.958691 [ 6032 ] {7049deff-6acd-4270-b969-8d0dbadc5f4d} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59518) (comment: 01422_map_skip_null.sql) (in query: select maxMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.960114 [ 6032 ] {7049deff-6acd-4270-b969-8d0dbadc5f4d} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.971385 [ 6032 ] {0cd9bb87-6e40-4d01-8cef-637e4aea36a0} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59518) (comment: 01422_map_skip_null.sql) (in query: select sumMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:07.973181 [ 6032 ] {0cd9bb87-6e40-4d01-8cef-637e4aea36a0} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x189ccef4 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60ae2f in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:08.791502 [ 6032 ] {5ded7d6c-0c73-4b38-8c47-4496e54d25d0} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59518) (comment: 01422_map_skip_null.sql) (in query: select sumMapWithOverflow(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:0: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x176ee020 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x176e99ca in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:447: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x176e877a in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x17353e25 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:08.793465 [ 6032 ] {5ded7d6c-0c73-4b38-8c47-4496e54d25d0} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:0: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x176ee020 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x176e99ca in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:447: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x176e877a in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x17353e25 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x14a9e5fc in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x1c60b22f in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x1c6092b1 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c525 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:09.521424 [ 12839 ] {b7f4d502-5044-494e-93dd-8b1211aaafd4} executeQuery: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59590) (comment: 01420_format_row.gen.sql) (in query: -- unknown format select formatRow('aaa', *) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0xf0c9c91 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a9c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:01:09.523815 [ 12839 ] {b7f4d502-5044-494e-93dd-8b1211aaafd4} TCPHandler: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0xf0c9c91 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a9c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:01:10.866052 [ 6031 ] {6f0500b3-3af5-4b64-8de5-82d3a4a7570c} executeQuery: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59726) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_e') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x1c95cdec in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0xf1da405 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0xf1da05f in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0xf1d9ee9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:10.877342 [ 6031 ] {6f0500b3-3af5-4b64-8de5-82d3a4a7570c} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x1c95cdec in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0xf1da405 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0xf1da05f in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0xf1d9ee9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:11.209840 [ 6031 ] {1cd8d006-c06e-4525-b502-12a3d3849155} executeQuery: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59726) (comment: 01418_custom_settings.sql) (in query: SET invalid_custom = 8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c646067 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:624: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c644a1a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:225: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa35 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:11.211915 [ 6031 ] {1cd8d006-c06e-4525-b502-12a3d3849155} TCPHandler: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c646067 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:624: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x1c644a1a in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:225: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa35 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:11.385437 [ 6031 ] {bead06a3-221c-487c-a8c1-271129e0f749} executeQuery: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59726) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_f') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x1c95cdec in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0xf1da405 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0xf1da05f in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0xf1d9ee9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:11.387271 [ 6031 ] {bead06a3-221c-487c-a8c1-271129e0f749} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x1c95cdec in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0xf1da405 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0xf1da05f in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0xf1d9ee9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:12.610639 [ 885 ] {b1efc6fc-96cc-474e-b54c-29c0204c752a::20191002_2_2_0_3} MutatePlainMergeTreeTask: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:13.325993 [ 885 ] {b1efc6fc-96cc-474e-b54c-29c0204c752a::20191002_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateSomePartColumnsTask::executeStep() @ 0x1f62472e in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:13.326036 [ 6032 ] {dc2614c5-34bc-4316-ac3c-c6bcdc7fa5d6} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60090) (comment: 01414_mutations_and_errors.sql) (in query: ALTER TABLE mutation_table MODIFY COLUMN value UInt64 SETTINGS mutations_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1f74328d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:13.327379 [ 6032 ] {dc2614c5-34bc-4316-ac3c-c6bcdc7fa5d6} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1f74328d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:13.624815 [ 894 ] {b1efc6fc-96cc-474e-b54c-29c0204c752a::20191002_2_2_0_3} MutatePlainMergeTreeTask: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:13.781708 [ 6032 ] {a3d9db3a-099d-4299-bf74-1a2e1a0b58c8} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60090) (comment: 01414_mutations_and_errors.sql) (in query: SELECT distinct(value) FROM mutation_table ORDER BY value;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5824af in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 2024.03.19 13:01:13.784014 [ 6032 ] {a3d9db3a-099d-4299-bf74-1a2e1a0b58c8} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5824af in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 2024.03.19 13:01:13.784918 [ 894 ] {b1efc6fc-96cc-474e-b54c-29c0204c752a::20191002_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/b1e/b1efc6fc-96cc-474e-b54c-29c0204c752a/20191002_2_2_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateSomePartColumnsTask::executeStep() @ 0x1f62472e in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:14.427515 [ 12839 ] {5c3ec6dd-4f95-4190-9872-37f35f376c56} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.432334 [ 12839 ] {5c3ec6dd-4f95-4190-9872-37f35f376c56} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.439438 [ 12839 ] {54509e5c-c6c5-4d4a-81c6-f5cd943d09b5} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value1 UInt32;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.440339 [ 12839 ] {54509e5c-c6c5-4d4a-81c6-f5cd943d09b5} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.446901 [ 12839 ] {67210cee-63e0-4fcb-ae86-d274bd857dfc} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value4 Date;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.447822 [ 12839 ] {67210cee-63e0-4fcb-ae86-d274bd857dfc} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.453813 [ 12839 ] {f4454745-d7c9-4b64-98e0-9ec592ab8c43} executeQuery: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters DROP COLUMN value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.454699 [ 12839 ] {f4454745-d7c9-4b64-98e0-9ec592ab8c43} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.463867 [ 12839 ] {2d1c4282-2592-4016-9790-51223d186c98} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value2 Enum8('x' = 5, 'y' = 6);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.464813 [ 12839 ] {2d1c4282-2592-4016-9790-51223d186c98} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.470592 [ 12839 ] {93814955-7aa3-472d-9060-632108f7b3cf} executeQuery: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters RENAME COLUMN value4 TO renamed_value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.471601 [ 12839 ] {93814955-7aa3-472d-9060-632108f7b3cf} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.478751 [ 12839 ] {74206cf8-9446-492f-bd33-47ee0fc5b315} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60200) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt16 TTL value5 + INTERVAL 5 DAY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:14.479559 [ 12839 ] {74206cf8-9446-492f-bd33-47ee0fc5b315} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3835c3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:15.438824 [ 12839 ] {ebdb1d2e-7581-4603-8958-9753b684db3e} executeQuery: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44044) (comment: 01407_lambda_arrayJoin.sql) (in query: SELECT * FROM system.one ARRAY JOIN arrayFilter((a) -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_1::operator()>(std::shared_ptr const&) const @ 0x1d3654fe in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d352b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cecd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:976: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x1d322e75 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3324fd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:01:15.440294 [ 12839 ] {ebdb1d2e-7581-4603-8958-9753b684db3e} TCPHandler: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_1::operator()>(std::shared_ptr const&) const @ 0x1d3654fe in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d352b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35cecd in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:976: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x1d322e75 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3324fd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:01:16.142218 [ 4229 ] {b0d9add3-f604-4df9-a603-14cf4b5dfbac} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44096) (comment: 01397_in_bad_arguments.sql) (in query: select in((1, 1, 1, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.143211 [ 4229 ] {b0d9add3-f604-4df9-a603-14cf4b5dfbac} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.148392 [ 4229 ] {59800e92-65a6-4286-9d4c-4e90f62a2b9c} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44096) (comment: 01397_in_bad_arguments.sql) (in query: select in(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.149280 [ 4229 ] {59800e92-65a6-4286-9d4c-4e90f62a2b9c} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.153414 [ 4229 ] {dcf7efee-fb74-42ce-b8b4-400504519982} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44096) (comment: 01397_in_bad_arguments.sql) (in query: select in();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.154288 [ 4229 ] {dcf7efee-fb74-42ce-b8b4-400504519982} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.158423 [ 4229 ] {6cdbeb5a-05f6-435c-952e-bab2d3302eb1} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44096) (comment: 01397_in_bad_arguments.sql) (in query: select in(1, 2, 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:16.159363 [ 4229 ] {6cdbeb5a-05f6-435c-952e-bab2d3302eb1} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17ddaf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d410 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d37b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d7f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x1d17d3fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7203 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:17.347881 [ 12571 ] {d82c1d87-0ecf-4dc6-b65a-6a01e598ae5f} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44202) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Delta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 5137, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18257, prefer_fetch_merged_part_size_threshold = 5626303494, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16675371), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc0fb35 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:17.349204 [ 12571 ] {d82c1d87-0ecf-4dc6-b65a-6a01e598ae5f} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc0fb35 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:17.641116 [ 12571 ] {427d03bf-0cae-4bb4-9fed-698d03708aed} executeQuery: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44202) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(DoubleDelta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 5137, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18257, prefer_fetch_merged_part_size_threshold = 5626303494, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16675371), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc69ed5 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:17.644063 [ 12571 ] {427d03bf-0cae-4bb4-9fed-698d03708aed} TCPHandler: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc69ed5 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:17.963153 [ 12571 ] {c8477ba3-cf79-49c1-bfd8-e81a19c5a586} executeQuery: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44202) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Gorilla, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 5137, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18257, prefer_fetch_merged_part_size_threshold = 5626303494, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16675371), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc6e7b5 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:18.359972 [ 4229 ] {5b54c582-c139-4c29-9507-c3308716ade1} executeQuery: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44246) (comment: 01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS.sql) (in query: SELECT dictGetString(concat('default', '.countryId'), 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x1d8c8403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x1d8c8a22 in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0xcefa495 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0xcef5823 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf153e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x1e0d206a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c759c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:18.694877 [ 12093 ] {74e89b69-d51f-4cbf-8a02-153a07c815e5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51368) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if((shardNum() AS `_shard_num`) = 2, 100000, 1))), `number` % 100000 AS `k` FROM `system`.`numbers` GROUP BY `k` LIMIT 10000000.), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0xcd5456c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:158: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x152cd25d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x152f4bd2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x152f58e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x1d56e730 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d4670af in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d3904ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d3958f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:18.994393 [ 12571 ] {c8477ba3-cf79-49c1-bfd8-e81a19c5a586} TCPHandler: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc6e7b5 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:18.994470 [ 11125 ] {6db5258d-d9c3-4619-8603-adac2b46ccab} executeQuery: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44294) (comment: 01372_remote_table_function_empty_table.sql) (in query: SELECT * FROM remote('127..2', 'a.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0xcc713fc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x1c1c8592 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x1c61a086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1cf922 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:18.994587 [ 4229 ] {5b54c582-c139-4c29-9507-c3308716ade1} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x1d8c8403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x1d8c8a22 in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0xcefa495 in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0xcef5823 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf153e0 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x1e0d206a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c759c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:18.994722 [ 12093 ] {74e89b69-d51f-4cbf-8a02-153a07c815e5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0xcd5456c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:158: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x152cd25d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x152f4bd2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x152f58e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x1d56e730 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d4670af in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d3904ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d3958f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:18.996768 [ 11125 ] {6db5258d-d9c3-4619-8603-adac2b46ccab} TCPHandler: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0xcc713fc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x1c1c8592 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x1c61a086 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1cf922 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:19.297755 [ 12571 ] {a91dc15a-60ea-4c73-b141-ba8e772a83ee} executeQuery: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44202) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(DoubleDelta(3), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 5137, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18257, prefer_fetch_merged_part_size_threshold = 5626303494, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16675371), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc69e82 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:19.298291 [ 4068 ] {70cff5c2-6768-4d30-902f-ec7317e2fcbb} executeQuery: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0xcd5456c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:158: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x152cd25d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x152f4bd2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x152f58e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x1d56e730 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d4670af in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d3904ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d3958f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37072) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(_shard_num == 2, 100000, 1))), number%100000 k from remote('127.{2,3}', system.numbers) GROUP BY k LIMIT 10e6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:01:19.298890 [ 12571 ] {a91dc15a-60ea-4c73-b141-ba8e772a83ee} TCPHandler: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc69e82 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:19.304418 [ 1030 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:35808). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:19.305104 [ 4068 ] {70cff5c2-6768-4d30-902f-ec7317e2fcbb} TCPHandler: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0xcd5456c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:158: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x152cd25d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x152f4bd2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x152f58e4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x1d56e730 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d4670af in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x1d3904ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x1d3958f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:0: DB::AggregatingTransform::consume(DB::Chunk) @ 0x1fc5adfe in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x1fc5757f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:01:19.581293 [ 12571 ] {f762401d-9a90-4dd1-ae5c-c8f3494be218} executeQuery: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44202) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(Gorilla('hello, world'), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 5137, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18257, prefer_fetch_merged_part_size_threshold = 5626303494, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16675371), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc6e57b in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:19.582339 [ 12571 ] {f762401d-9a90-4dd1-ae5c-c8f3494be218} TCPHandler: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0xcc668a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc6e57b in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:20.328265 [ 4615 ] {c2911852-9dcd-4ea9-be39-bdbb49283c11} executeQuery: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44364) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 PREWHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x1d32a5fa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1920: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d331c62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:20.329628 [ 4615 ] {c2911852-9dcd-4ea9-be39-bdbb49283c11} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x1d32a5fa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1920: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d331c62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:20.637978 [ 4615 ] {7be99bb7-cd1a-4d71-ac07-3223b42d295e} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44364) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 WHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes settings optimize_move_to_prewhere=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32adb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:20.639470 [ 4615 ] {7be99bb7-cd1a-4d71-ac07-3223b42d295e} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32adb5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.052204 [ 4074 ] {6562e5c7-cf66-4155-8647-53d0c328cda0} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.056672 [ 4074 ] {6562e5c7-cf66-4155-8647-53d0c328cda0} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.089853 [ 4074 ] {48c3b562-aef7-430b-b124-e52178f2fe36} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2, 'goodbye' = 4);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.090996 [ 4074 ] {48c3b562-aef7-430b-b124-e52178f2fe36} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.319364 [ 4074 ] {a4c01d60-34ae-4d5d-a312-a6cd668601c6} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum8('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.320413 [ 4074 ] {a4c01d60-34ae-4d5d-a312-a6cd668601c6} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.333966 [ 4074 ] {a3186003-1b5e-4f5c-b325-228908810812} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum16('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.336380 [ 4074 ] {a3186003-1b5e-4f5c-b325-228908810812} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.347713 [ 4074 ] {dfb4b648-f4be-4a73-95e8-a0d4fbfa1fb0} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.348563 [ 4074 ] {dfb4b648-f4be-4a73-95e8-a0d4fbfa1fb0} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.358730 [ 4074 ] {860f8024-189f-4588-b3d9-cd5f4e0b9fe0} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.359875 [ 4074 ] {860f8024-189f-4588-b3d9-cd5f4e0b9fe0} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.370730 [ 4074 ] {932978df-488e-4482-83ce-88f0b9d2739b} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Nullable(Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.371549 [ 4074 ] {932978df-488e-4482-83ce-88f0b9d2739b} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f3836fb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.441957 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №1, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:22.585116 [ 4074 ] {01f50550-69ae-44cf-8826-7264eea8fece} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN x TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f382ff8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.586306 [ 4074 ] {01f50550-69ae-44cf-8826-7264eea8fece} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f382ff8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.597634 [ 4074 ] {0d46c3b3-c3e2-4112-92d2-b088f0ad0faf} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN y TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f382ff8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.598364 [ 4074 ] {0d46c3b3-c3e2-4112-92d2-b088f0ad0faf} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f382ff8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.880196 [ 4074 ] {6d2a8156-a1c8-4bf8-b2b0-0eeedeadeee5} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:947: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c477 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:22.881124 [ 4074 ] {6d2a8156-a1c8-4bf8-b2b0-0eeedeadeee5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:947: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c477 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:23.155929 [ 4074 ] {a5dd77d4-f585-4871-a8d0-ef6c8186bce7} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44460) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:932: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c3d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:23.604780 [ 4074 ] {a5dd77d4-f585-4871-a8d0-ef6c8186bce7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:932: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c3d1 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:23.604888 [ 12010 ] {38097641-6891-4cf1-99b7-57b328e0ebd2} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44536) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ceb2c7d in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x10b80ac4 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x10b65af4 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:01:23.607232 [ 12010 ] {38097641-6891-4cf1-99b7-57b328e0ebd2} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ceb2c7d in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x10b80ac4 in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x10b65af4 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:01:24.017293 [ 12010 ] {644eff0c-fd73-40d0-9c24-28df0d3894f3} executeQuery: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44536) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < materialize('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e40 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x10b81a6e in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x10b66d22 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:24.018822 [ 12010 ] {644eff0c-fd73-40d0-9c24-28df0d3894f3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e40 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x10b81a6e in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x10b66d22 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:24.448416 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №2, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:25.563509 [ 4619 ] {878451c6-0d8c-4098-b7be-45ea0bd49e81} executeQuery: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: -- mapAdd select mapAdd([1], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dce03 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:25.564794 [ 4619 ] {878451c6-0d8c-4098-b7be-45ea0bd49e81} TCPHandler: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dce03 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:25.958327 [ 4619 ] {807be5fa-8f96-4b77-a793-a69c88806d22} executeQuery: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dcd5c in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:25.959730 [ 4619 ] {807be5fa-8f96-4b77-a793-a69c88806d22} TCPHandler: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dcd5c in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:26.349209 [ 4619 ] {99685b9d-0ece-449a-a54f-5caba858581f} executeQuery: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434efa7 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:26.351072 [ 4619 ] {99685b9d-0ece-449a-a54f-5caba858581f} TCPHandler: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434efa7 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:26.453856 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №3, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:27.025007 [ 4619 ] {f11efc56-0686-407a-85ec-fa395c309a25} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1)], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434f059 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:27.029045 [ 4619 ] {f11efc56-0686-407a-85ec-fa395c309a25} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434f059 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:27.438958 [ 4619 ] {921ba0d3-c686-43b9-aba0-3b5ffad0c0b7} executeQuery: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1), 2], [toInt32(1)]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142daaaa in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:27.793567 [ 4619 ] {921ba0d3-c686-43b9-aba0-3b5ffad0c0b7} TCPHandler: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142daaaa in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:27.793740 [ 4618 ] {628254e4-f97c-406a-8f80-f3ed0a7e31ad} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51260) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTimeBestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x1478760e in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x14783bb4 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcea4f05 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcea38ab in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:27.795131 [ 4618 ] {628254e4-f97c-406a-8f80-f3ed0a7e31ad} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x1478760e in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x14783bb4 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcea4f05 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcea38ab in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:28.180917 [ 4618 ] {3c2e82a4-f04f-4318-a1b2-0318c17843b7} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51260) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTime64BestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x1478760e in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x14790f92 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcebd25f in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcebb480 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:28.457688 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №4, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:28.537617 [ 4619 ] {451deb85-fc3f-471b-a058-87f872d71d5e} executeQuery: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142db5cc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:28.537669 [ 4618 ] {3c2e82a4-f04f-4318-a1b2-0318c17843b7} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x1478760e in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x14790f92 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcebd25f in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcebb480 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:28.539022 [ 4619 ] {451deb85-fc3f-471b-a058-87f872d71d5e} TCPHandler: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142db5cc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:28.919277 [ 4619 ] {151decee-72d6-4680-b19d-35122f2599da} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51186) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434ee91 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:29.306067 [ 4618 ] {05e19828-0cfe-4929-80b6-fb1f2155b3a4} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51260) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT toDateTime('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x14770af1 in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0xc989fb6 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc989d04 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc96f467 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96de72 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96cf60 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:01:29.306218 [ 4619 ] {151decee-72d6-4680-b19d-35122f2599da} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x1434ee91 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x142dbcb5 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:29.307243 [ 4618 ] {05e19828-0cfe-4929-80b6-fb1f2155b3a4} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x14770af1 in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0xc989fb6 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc989d04 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc96f467 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96de72 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc96cf60 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:01:30.190042 [ 4618 ] {e83e2400-4499-412b-b06b-d04728befb50} executeQuery: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51352) (comment: 01311_comparison_with_constant_string.sql) (in query: -- it should work but it doesn't. SELECT 1 = '1.0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:01:30.462662 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №5, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:30.542419 [ 11869 ] {9ba34837-1386-4895-8696-bb151d330128} executeQuery: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51366) (comment: 01308_polygon_area.sql) (in query: SELECT polygonAreaCartesian([]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12adc02b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:30.542471 [ 4618 ] {e83e2400-4499-412b-b06b-d04728befb50} TCPHandler: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:01:30.543914 [ 11869 ] {9ba34837-1386-4895-8696-bb151d330128} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x12adc02b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:31.088163 [ 4618 ] {30306ed6-6588-4ed2-829b-27ae165d08ec} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51352) (comment: 01311_comparison_with_constant_string.sql) (in query: SELECT 0 = '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0xc6e1742 in /usr/bin/clickhouse 3. DB::throwReadAfterEOF() @ 0xc6e1350 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x1ce81d85 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ce81918 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:01:31.089356 [ 4618 ] {30306ed6-6588-4ed2-829b-27ae165d08ec} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0xc6e1742 in /usr/bin/clickhouse 3. DB::throwReadAfterEOF() @ 0xc6e1350 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x1ce81d85 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ce81918 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:01:32.464662 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №6, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:33.120567 [ 4103 ] {a5d439ef-3af9-419c-b6a5-cf8b3ec0e3b0} executeQuery: Code: 81. DB::Exception: Database test_01516_test_fvpliy14 is currently dropped or renamed. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51504) (comment: 01516_drop_table_stress_long.sh) (in query: DROP TABLE IF EXISTS test_01516_test_fvpliy14.data3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1469: DB::DDLGuard::DDLGuard(std::map, std::allocator>>&, DB::SharedMutex&, std::unique_lock, String const&, String const&) @ 0x1d2a2734 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::DatabaseCatalog::getDDLGuard(String const&, String const&) @ 0x1d293cdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b769 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:33.411905 [ 1029 ] {bbc57ead-caa2-4830-a4ae-2bb707319681} executeQuery: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51508) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE delta_table (`id` UInt64 CODEC(Delta(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 3168, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.006944311782717705, merge_max_block_size = 14422, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5286098311, index_granularity_bytes = 26899025), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc0f8fb in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:33.412033 [ 4103 ] {a5d439ef-3af9-419c-b6a5-cf8b3ec0e3b0} TCPHandler: Code: 81. DB::Exception: Database test_01516_test_fvpliy14 is currently dropped or renamed. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1469: DB::DDLGuard::DDLGuard(std::map, std::allocator>>&, DB::SharedMutex&, std::unique_lock, String const&, String const&) @ 0x1d2a2734 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:143: DB::DatabaseCatalog::getDDLGuard(String const&, String const&) @ 0x1d293cdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b769 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:33.413390 [ 1029 ] {bbc57ead-caa2-4830-a4ae-2bb707319681} TCPHandler: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0xcc726c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc0f8fb in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:33.723310 [ 1029 ] {21981014-8e21-4593-ae01-dbde7cfb018e} executeQuery: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51508) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE zstd_table (`id` UInt64 CODEC(ZSTD(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 3168, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.006944311782717705, merge_max_block_size = 14422, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5286098311, index_granularity_bytes = 26899025), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0bacf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:33.724403 [ 1029 ] {21981014-8e21-4593-ae01-dbde7cfb018e} TCPHandler: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0bacf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:34.030332 [ 1029 ] {c42208ae-c545-4d77-909f-0317bae5fc78} executeQuery: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51508) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4HC(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 3168, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.006944311782717705, merge_max_block_size = 14422, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5286098311, index_granularity_bytes = 26899025), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0xdab3ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:135: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0a3e9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:34.031539 [ 1029 ] {c42208ae-c545-4d77-909f-0317bae5fc78} TCPHandler: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0xdab3ea2 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:135: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0a3e9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:34.328760 [ 1029 ] {0979c563-9d0b-4202-b0b5-b3eeea945f2b} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51508) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 3168, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.006944311782717705, merge_max_block_size = 14422, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5286098311, index_granularity_bytes = 26899025), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0469f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:34.329976 [ 1029 ] {0979c563-9d0b-4202-b0b5-b3eeea945f2b} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1cc0469f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x1cc042ba in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x1cc02fc4 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x1df591d9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x1ce2c52d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x1ce2c7d5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x1df57d67 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de8553e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:34.468164 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №7, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:35.458281 [ 4103 ] {ac2420d6-3574-49df-8e12-2a81c5d0c5cb} executeQuery: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53040) (comment: 01293_create_role.sql) (in query: SHOW CREATE ROLE r2_01293;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x1c735c59 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x1c735b77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x1e6380b3 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x1e63702c in /usr/bin/clickhouse 7. ./build_docker/./src/Common/COW.h:284: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x1e6362f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x1e636258 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:35.459262 [ 4103 ] {ac2420d6-3574-49df-8e12-2a81c5d0c5cb} TCPHandler: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0xd61f3dd in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x1c735c59 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x1c735b77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x1e6380b3 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x1e63702c in /usr/bin/clickhouse 7. ./build_docker/./src/Common/COW.h:284: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x1e6362f6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x1e636258 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:36.471774 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №8, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:36.577968 [ 4103 ] {2ce46b20-688e-4e10-ab12-fc6c1b4ecd70} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53080) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:36.579344 [ 4103 ] {2ce46b20-688e-4e10-ab12-fc6c1b4ecd70} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:36.993669 [ 4103 ] {51da6a78-7db8-4e62-8eda-251a1ab371a9} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53080) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 2024.03.19 13:01:36.995245 [ 4103 ] {51da6a78-7db8-4e62-8eda-251a1ab371a9} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 2024.03.19 13:01:37.007667 [ 4103 ] {7fe75a11-08c6-4704-b8d3-f7188332857f} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53080) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:37.009323 [ 4103 ] {7fe75a11-08c6-4704-b8d3-f7188332857f} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:01:37.021655 [ 4103 ] {1a2ba90a-f2de-49b4-8b76-2e8235f68fff} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53080) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 2024.03.19 13:01:37.023415 [ 4103 ] {1a2ba90a-f2de-49b4-8b76-2e8235f68fff} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xca6bded in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xca5c8fc in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5b705 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xca5aa00 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcb14ebc in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b903 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 2024.03.19 13:01:38.477369 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №9, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:39.208961 [ 24577 ] {bd05728a-a86b-4e7d-a7a7-c1662508f993} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_4oqqgmm7.default_constraints (1f93885c-7d35-44bb-ac8d-a94a01cc1fb7) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53202) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.210301 [ 24577 ] {bd05728a-a86b-4e7d-a7a7-c1662508f993} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_4oqqgmm7.default_constraints (1f93885c-7d35-44bb-ac8d-a94a01cc1fb7) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.223960 [ 24577 ] {36d8b7f8-0d74-41d0-9713-36bc53dbc4ac} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_4oqqgmm7.default_constraints (1f93885c-7d35-44bb-ac8d-a94a01cc1fb7) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53202) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.224756 [ 24577 ] {36d8b7f8-0d74-41d0-9713-36bc53dbc4ac} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_4oqqgmm7.default_constraints (1f93885c-7d35-44bb-ac8d-a94a01cc1fb7) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.315170 [ 24577 ] {a30c5477-27bd-4775-aff6-889234eebea0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_00aaae91-c33d-4709-b9a8-f2f425ea5ea0` (00aaae91-c33d-4709-b9a8-f2f425ea5ea0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53202) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.316646 [ 24577 ] {a30c5477-27bd-4775-aff6-889234eebea0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_00aaae91-c33d-4709-b9a8-f2f425ea5ea0` (00aaae91-c33d-4709-b9a8-f2f425ea5ea0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.332108 [ 24577 ] {076ec475-c0d7-4642-b0ed-75f1db249bfd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_00aaae91-c33d-4709-b9a8-f2f425ea5ea0` (00aaae91-c33d-4709-b9a8-f2f425ea5ea0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53202) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:39.333100 [ 24577 ] {076ec475-c0d7-4642-b0ed-75f1db249bfd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_00aaae91-c33d-4709-b9a8-f2f425ea5ea0` (00aaae91-c33d-4709-b9a8-f2f425ea5ea0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:40.481107 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} HedgedConnectionsFactory: Connection failed at try №10, reason: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:40.774708 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44386) (comment: 01361_fover_remote_num_tries.sh) (in query: SELECT hostName() FROM remote('128.1.2.3', default.tmp)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6ad1c in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:40.777797 [ 11125 ] {696a6451-477e-404f-b5bc-9d7e56b04fbd} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) Code: 209. DB::NetException: Timeout: connect timed out: 128.1.2.3:9000 (128.1.2.3:9000, connection timeout 2000 ms). (SOCKET_TIMEOUT) (version 23.3.19.34.altinitystable (altinity build)) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6ad1c in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:41.543576 [ 24577 ] {3ce27fca-823f-4592-8abd-f99916ff6b6d} executeQuery: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53314) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits(toString('string'), 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0xf0fc753 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:41.756649 [ 12828 ] {bf1cafa9-b46e-47b7-aec6-d4b530b141ff} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53338) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:41.756971 [ 24577 ] {3ce27fca-823f-4592-8abd-f99916ff6b6d} TCPHandler: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0xf0fc753 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:41.757403 [ 12828 ] {bf1cafa9-b46e-47b7-aec6-d4b530b141ff} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:41.971949 [ 12828 ] {1631ba13-2edd-4804-a10d-5cf427cd4031} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53338) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb711ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:42.345404 [ 12828 ] {1631ba13-2edd-4804-a10d-5cf427cd4031} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb711ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:42.346579 [ 24577 ] {40eebef6-9936-4896-b776-392819cbf853} executeQuery: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53314) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits('string', -1.0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0fc1f0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:42.348247 [ 24577 ] {40eebef6-9936-4896-b776-392819cbf853} TCPHandler: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0fc1f0 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:42.700989 [ 12828 ] {143d9f7a-2663-42dd-9b1e-5093a84783b2} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53338) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:42.701831 [ 12828 ] {143d9f7a-2663-42dd-9b1e-5093a84783b2} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71403 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:42.707399 [ 12828 ] {c329c559-365b-4275-9193-b0f917aeaaea} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53338) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb711ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:42.708408 [ 12828 ] {c329c559-365b-4275-9193-b0f917aeaaea} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb711ee in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:44.583949 [ 24576 ] {276ecc49-542c-4800-8e5d-386f954c3589} executeQuery: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53490) (comment: 01278_random_string_utf8.sql) (in query: SELECT randomStringUTF8('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x131f44dd in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:44.585025 [ 24576 ] {276ecc49-542c-4800-8e5d-386f954c3589} TCPHandler: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x131f44dd in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:45.211634 [ 12818 ] {f4359d7e-c416-4c1a-9f21-c494443a8c81} executeQuery: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58018) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131ee062 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:45.211760 [ 1031 ] {2ebbafd3-bb7b-45cf-9f13-ce6d7eb633c9} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58070) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:45.212687 [ 12818 ] {f4359d7e-c416-4c1a-9f21-c494443a8c81} TCPHandler: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131ee062 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:45.213377 [ 1031 ] {2ebbafd3-bb7b-45cf-9f13-ce6d7eb633c9} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:45.601677 [ 1031 ] {ac1c7097-bb98-4cbd-8a1b-4b7fe35b8396} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58070) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:45.601726 [ 12818 ] {f2a903b2-b3e5-464e-ac3f-58d57c23053e} executeQuery: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58018) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0xcd62459 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0xcd7b7a9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131edf35 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:45.603089 [ 12818 ] {f2a903b2-b3e5-464e-ac3f-58d57c23053e} TCPHandler: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0xcc79b82 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0xcd62459 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0xcd7b7a9 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131edf35 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:45.603551 [ 1031 ] {ac1c7097-bb98-4cbd-8a1b-4b7fe35b8396} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:45.978335 [ 1031 ] {c3907b22-44fe-4f9b-8a2c-27c2ead7309d} executeQuery: Code: 469. DB::Exception: Constraint `cs_value1` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58070) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number), toString(number + 2) from numbers(20, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:45.978328 [ 12818 ] {e25f64a3-431e-49f0-8fc6-e2eb8ede3ab0} executeQuery: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58018) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(rand() % 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131edfc5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:45.979541 [ 12818 ] {e25f64a3-431e-49f0-8fc6-e2eb8ede3ab0} TCPHandler: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x131edfc5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:45.980003 [ 1031 ] {c3907b22-44fe-4f9b-8a2c-27c2ead7309d} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value1` for table test_9xco3cen.table_for_rename (85243d64-ff60-442f-89ae-9dcb87ab07f7) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:46.948662 [ 12839 ] {8b04cd32-5a52-409b-8dc5-eb26937a7e2b} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: -- Error cases SELECT toUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:46.949980 [ 12839 ] {8b04cd32-5a52-409b-8dc5-eb26937a7e2b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:46.958478 [ 12839 ] {a77e5d91-1bd8-4b56-838b-0ca476c28874} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:46.959767 [ 12839 ] {a77e5d91-1bd8-4b56-838b-0ca476c28874} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:46.967861 [ 12839 ] {1e2bf08c-95f5-445f-9a19-64535c357397} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:46.969436 [ 12839 ] {1e2bf08c-95f5-445f-9a19-64535c357397} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.383372 [ 12839 ] {672fba34-fcf6-470a-818e-1be539660f3c} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.384680 [ 12839 ] {672fba34-fcf6-470a-818e-1be539660f3c} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.391848 [ 12839 ] {b32d890b-e776-42e2-925c-149aed2a6ea9} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.393033 [ 12839 ] {b32d890b-e776-42e2-925c-149aed2a6ea9} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.398855 [ 12839 ] {fb8c7622-d0d1-4e35-af18-8c29d4651e68} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.400327 [ 12839 ] {fb8c7622-d0d1-4e35-af18-8c29d4651e68} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x134e7421 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 2024.03.19 13:01:47.406414 [ 12839 ] {f83b6411-fd3e-4c2d-afb2-dc211377ae61} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.407403 [ 12839 ] {f83b6411-fd3e-4c2d-afb2-dc211377ae61} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.413079 [ 12839 ] {5bbac2c8-33ab-4c3a-95aa-595cee3d2fb5} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.414127 [ 12839 ] {5bbac2c8-33ab-4c3a-95aa-595cee3d2fb5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.419842 [ 12839 ] {b11f743f-a8ae-4e75-963f-4fe02d2daac5} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58200) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:47.420801 [ 12839 ] {b11f743f-a8ae-4e75-963f-4fe02d2daac5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:48.337782 [ 6032 ] {4816fb7f-581a-4022-9176-5421eab737a2} executeQuery: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039f5f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:48.338891 [ 6032 ] {4816fb7f-581a-4022-9176-5421eab737a2} TCPHandler: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039f5f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:48.709186 [ 6032 ] {e00bc27f-8782-4eea-9a23-6dbbef130fcb} executeQuery: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0xd2558c2 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf037feb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:48.710738 [ 6032 ] {e00bc27f-8782-4eea-9a23-6dbbef130fcb} TCPHandler: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0xd2558c2 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf037feb in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.091286 [ 6032 ] {185131e3-4b4f-430b-8d82-f760595cfffe} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.092615 [ 6032 ] {185131e3-4b4f-430b-8d82-f760595cfffe} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.471403 [ 6032 ] {fa6e5d88-e353-4583-ba99-173fcc29ad79} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.473543 [ 6032 ] {fa6e5d88-e353-4583-ba99-173fcc29ad79} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.484681 [ 6032 ] {9efa104a-683c-4bc5-aab4-6b511a9f006f} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.486393 [ 6032 ] {9efa104a-683c-4bc5-aab4-6b511a9f006f} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.492861 [ 6032 ] {cb898126-721b-46e3-b53b-cbd719930e64} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.494880 [ 6032 ] {cb898126-721b-46e3-b53b-cbd719930e64} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.503077 [ 6032 ] {4b50d365-6ba8-4fe7-8270-16ca4a43085d} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.504084 [ 6032 ] {4b50d365-6ba8-4fe7-8270-16ca4a43085d} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf039fea in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.513583 [ 6032 ] {50ad548f-4d32-4cc3-ae8b-a0bce5f39579} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.514702 [ 6032 ] {50ad548f-4d32-4cc3-ae8b-a0bce5f39579} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:49.884723 [ 6032 ] {3d6166f1-85c5-496f-b7dc-cc2e64fdfbae} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03a077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:49.885954 [ 6032 ] {3d6166f1-85c5-496f-b7dc-cc2e64fdfbae} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03a077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:50.249505 [ 6032 ] {f579559e-9e95-4f6f-ac89-bd8ca8d968a5} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58248) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038100 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:50.250859 [ 6032 ] {f579559e-9e95-4f6f-ac89-bd8ca8d968a5} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf038100 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:01:50.640125 [ 1026 ] {cc2a56d2-e243-493d-8f81-43a12a35a191} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: -- error cases SELECT extractGroups();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:50.641192 [ 1026 ] {cc2a56d2-e243-493d-8f81-43a12a35a191} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:50.647262 [ 1026 ] {319a55c8-17cf-4cd5-816d-f69b33c95bf2} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:50.648253 [ 1026 ] {319a55c8-17cf-4cd5-816d-f69b33c95bf2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:01:51.000259 [ 1026 ] {8b3506fa-3081-4fce-bb07-de5164a71dee} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.339921 [ 1026 ] {8b3506fa-3081-4fce-bb07-de5164a71dee} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.344008 [ 6031 ] {893593b9-ffbb-4a73-b347-e7a4f19913b9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.21 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 100.00 MiB.: while pushing to view test_0txh9uor.mv_01278_2 (4f6b1ffc-7091-457c-a995-5736361afa0b). (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58238) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Columns/ColumnsCommon.cpp:0: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x1eb2f94d in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x1e88ee84 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.h:191: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x1e85fc31 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x1eb52f4c in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc91ac1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x1fd755dc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc8a1dd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8973a in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:51.347804 [ 1026 ] {4ae9e726-5838-447a-b380-196c67fc64ca} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.349129 [ 1026 ] {4ae9e726-5838-447a-b380-196c67fc64ca} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.700053 [ 6031 ] {893593b9-ffbb-4a73-b347-e7a4f19913b9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.21 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 100.00 MiB.: while pushing to view test_0txh9uor.mv_01278_2 (4f6b1ffc-7091-457c-a995-5736361afa0b). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Columns/ColumnsCommon.cpp:0: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x1eb2f94d in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnString.cpp:0: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x1e88ee84 in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.h:191: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x1e85fc31 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x1eb52f4c in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc91ac1 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x1fd755dc in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc8a1dd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc8973a in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:01:51.700112 [ 1026 ] {73b52405-bce5-4410-93e3-3b9d6daabaa6} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x146f750e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03963b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:51.706535 [ 1026 ] {73b52405-bce5-4410-93e3-3b9d6daabaa6} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x146f750e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03963b in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:01:51.719302 [ 1026 ] {ab65d34b-f67b-40f9-9305-55e57a6f6551} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.720990 [ 1026 ] {ab65d34b-f67b-40f9-9305-55e57a6f6551} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0xf03a5bc in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.752187 [ 1026 ] {d08ecc9d-a842-4c43-8e03-4df59a5f2815} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58364) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03a077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:51.753691 [ 1026 ] {d08ecc9d-a842-4c43-8e03-4df59a5f2815} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf03a077 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:01:54.376556 [ 4229 ] {d55a0395-054d-4cac-acd7-e81903061675} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing TabSeparatedRowInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57946) (comment: 01271_http_code_parse_error.sh) (in query: insert into test (f1, f2) format TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x1fc111e7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e695 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:01:54.378015 [ 4229 ] {d55a0395-054d-4cac-acd7-e81903061675} DynamicQueryHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing TabSeparatedRowInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x14772d59 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x14759f8c in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x1fc111e7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa7e695 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:01:57.619390 [ 4229 ] {4a57c35b-3161-4c88-bed6-aeb9b4b28896} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53876) (comment: 01269_toStartOfSecond.sql) (in query: -- Error cases SELECT toStartOfSecond('123');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cfb2a in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:57.621211 [ 4229 ] {4a57c35b-3161-4c88-bed6-aeb9b4b28896} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cfb2a in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:57.996055 [ 4229 ] {a8163f51-d790-4f8e-ae35-b9e46ca17d95} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53876) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x134ced53 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x134cdf01 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:01:57.997867 [ 4229 ] {a8163f51-d790-4f8e-ae35-b9e46ca17d95} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0xc6c546d in /usr/bin/clickhouse 3. DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x134ced53 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x134cdf01 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:01:58.380158 [ 4229 ] {be3719b9-23a2-4b29-a76e-338834347c2a} executeQuery: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53876) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cf8db in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:58.381971 [ 4229 ] {be3719b9-23a2-4b29-a76e-338834347c2a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0xc6be211 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cf8db in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:58.776566 [ 4229 ] {47ee587a-e077-4c14-b122-a0d4eb095d93} executeQuery: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53876) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now64(), 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cf97f in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:01:58.778342 [ 4229 ] {47ee587a-e077-4c14-b122-a0d4eb095d93} TCPHandler: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134cf97f in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134ce28b in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:02:00.036522 [ 12571 ] {ba89023a-78e3-46d9-88b4-f22a19c198cf} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.48 MiB (attempt to allocate chunk of 1114112 bytes), maximum: 100.00 MiB.: while pushing to view test_0txh9uor.mv_01278_6 (7600559a-8a81-4d58-8c5f-43a01f06b4aa). (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58438) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc6aa537 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:324: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x1e88e8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.cpp:185: DB::ColumnNullable::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x1e85f606 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x1f62919c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x1f6284c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x1f627e8a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:0: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x1fd32aaf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:46: DB::SquashingChunksTransform::work() @ 0x1fd336ce in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:00.090484 [ 12571 ] {ba89023a-78e3-46d9-88b4-f22a19c198cf} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.48 MiB (attempt to allocate chunk of 1114112 bytes), maximum: 100.00 MiB.: while pushing to view test_0txh9uor.mv_01278_6 (7600559a-8a81-4d58-8c5f-43a01f06b4aa). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc6aa537 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:324: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x1e88e8ad in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.cpp:185: DB::ColumnNullable::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x1e85f606 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x1f62919c in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x1f6284c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x1f627e8a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:0: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x1fd32aaf in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:46: DB::SquashingChunksTransform::work() @ 0x1fd336ce in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:01.382267 [ 12093 ] {9f4c015c-9010-43dd-9cc7-117c7f4feabd} executeQuery: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery246) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery246 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53984) (comment: 01247_some_msan_crashs_from_22517.sql) (in query: SELECT x FROM (SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:01.383968 [ 12093 ] {9f4c015c-9010-43dd-9cc7-117c7f4feabd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery246) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery246 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 29. ? @ 0x7f8b832b7609 in ? 30. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:01.766910 [ 12093 ] {6003395f-ccb3-4b4f-9c55-ab3547183f64} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: -- error cases SELECT extractAllGroupsHorizontal();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:02:01.768172 [ 12093 ] {6003395f-ccb3-4b4f-9c55-ab3547183f64} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:02:01.776103 [ 12093 ] {45418faa-bef1-40a3-80d7-6ccbf1e3d85e} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:02:01.777447 [ 12093 ] {45418faa-bef1-40a3-80d7-6ccbf1e3d85e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x19597d3a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x1c5f67e7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f6f62 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:02:02.294361 [ 12093 ] {652f6e90-4ece-410e-ad94-51d9512f1860} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:02.297444 [ 12093 ] {652f6e90-4ece-410e-ad94-51d9512f1860} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:02.311787 [ 12093 ] {7ea81422-1c20-40e8-b193-3d8c9e8ae8c8} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:02.313239 [ 12093 ] {7ea81422-1c20-40e8-b193-3d8c9e8ae8c8} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:02.753878 [ 12093 ] {b4b812ef-6fb8-4a1e-84ef-f05bdbcd8e6d} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x146f750e in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0337ac in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:02:02.755464 [ 12093 ] {b4b812ef-6fb8-4a1e-84ef-f05bdbcd8e6d} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x146f750e in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0337ac in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:02:02.765013 [ 12093 ] {984429cd-7dd8-4e1a-903f-978abd830482} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:02.766473 [ 12093 ] {984429cd-7dd8-4e1a-903f-978abd830482} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0xf0352bd in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:03.182248 [ 12093 ] {0c882ce2-c57b-4c1b-8403-3392df77a498} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf034a45 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:03.183579 [ 12093 ] {0c882ce2-c57b-4c1b-8403-3392df77a498} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf034a45 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:03.557722 [ 12093 ] {9c72bd14-320b-4662-ae48-3bfd1ed89f58} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0xf035b90 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0348ec in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:03.559156 [ 12093 ] {9c72bd14-320b-4662-ae48-3bfd1ed89f58} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0xf035b90 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0348ec in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:03.568445 [ 12093 ] {004c2298-0c6e-4726-9111-6ca792b339e3} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53998) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0xf035b90 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0348ec in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:03.569692 [ 12093 ] {004c2298-0c6e-4726-9111-6ca792b339e3} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0xf035b90 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0348ec in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:02:05.591432 [ 4068 ] {49bfe25b-d311-4af9-8d33-98ee98afd093} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 109.03 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54032) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:05.594795 [ 4068 ] {49bfe25b-d311-4af9-8d33-98ee98afd093} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 109.03 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:06.776039 [ 4068 ] {0ede07ee-281d-464c-ae54-4dd83cc77119} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 109.03 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54032) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type w/ Settings/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:06.780928 [ 4068 ] {0ede07ee-281d-464c-ae54-4dd83cc77119} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 109.03 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:07.292838 [ 12010 ] {de57450c-554f-42aa-a5e3-05bae5864a7b} executeQuery: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40964) (comment: 01213_point_in_Myanmar.sql) (in query: SELECT pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x129cd9db in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:07.295392 [ 12010 ] {de57450c-554f-42aa-a5e3-05bae5864a7b} TCPHandler: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x129cd9db in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:02:16.685269 [ 1026 ] {1b2783c5-391f-4e74-bf18-28cabddc99a7} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:454: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c26d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:16.698442 [ 1026 ] {1b2783c5-391f-4e74-bf18-28cabddc99a7} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:454: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c26d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:16.713158 [ 1026 ] {e2751cc5-454e-4647-9003-b772dbde0f3d} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 2) where d not in (1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:454: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c26d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:16.714502 [ 1026 ] {e2751cc5-454e-4647-9003-b772dbde0f3d} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:454: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c26d in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:17.313606 [ 1026 ] {4d0f86e4-c138-4892-86e4-cfc183ea6264} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 3) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e5800d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:17.413960 [ 1026 ] {4d0f86e4-c138-4892-86e4-cfc183ea6264} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e5800d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:17.838581 [ 1026 ] {66907033-c3a8-43ec-a846-2d4819d6a87f} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 4) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:17.839846 [ 1026 ] {66907033-c3a8-43ec-a846-2d4819d6a87f} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580038 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:227: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a50d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:18.203527 [ 1026 ] {cbb155c6-8202-4ed5-ac2c-12db85a6c8a2} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 5) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580a98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:228: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a6b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:18.209196 [ 1026 ] {cbb155c6-8202-4ed5-ac2c-12db85a6c8a2} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e580a98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:228: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a6b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:18.610928 [ 1026 ] {ad27d7bd-7b52-442f-b9c5-c48a3b70bbb4} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 6) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e5809f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:228: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a6b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:18.808815 [ 2732 ] {b13a53ff-4edb-4cb6-83a0-dcc0cd9c1bb6} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1aca9c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:18.809656 [ 2732 ] {b13a53ff-4edb-4cb6-83a0-dcc0cd9c1bb6} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1aca9c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:18.811433 [ 1026 ] {ad27d7bd-7b52-442f-b9c5-c48a3b70bbb4} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x1e5809f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:228: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57a6b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:19.017339 [ 2732 ] {6dd44176-5bf0-45e7-b643-426172e0cbae} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: rollback), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x1e1ad217 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac035 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:19.400569 [ 2732 ] {6dd44176-5bf0-45e7-b643-426172e0cbae} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x1e1ad217 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac035 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:19.400777 [ 1026 ] {5e82826e-f622-4c54-acf0-f23d69e997d0} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(26, 8)', 0, 7) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x1e5815e4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57aa3c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:19.402387 [ 1026 ] {5e82826e-f622-4c54-acf0-f23d69e997d0} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x1e5815e4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57aa3c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:19.785300 [ 1026 ] {70cfecd0-b5ff-41b6-9682-4ffaf8bd6e38} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47842) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(27, 8)', 0, 8) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x1e5816ac in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57aa3c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:19.789534 [ 1026 ] {70cfecd0-b5ff-41b6-9682-4ffaf8bd6e38} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x1e5816ac in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57aa3c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x1d3655b8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x1d34f7af in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x1d363b8d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d357613 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x1d32aaa8 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d3327ac in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 2024.03.19 13:02:20.558751 [ 2732 ] {1ca33047-9d07-41d5-8931-58aeb554aad9} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x1e1ac3e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac00a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:20.564981 [ 2732 ] {1ca33047-9d07-41d5-8931-58aeb554aad9} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x1e1ac3e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac00a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:22.269350 [ 2732 ] {d2ce49df-a322-4c8f-aac9-b8f3ed60329c} executeQuery: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception before start select functionThatDoesNotExist();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x147cc2fd in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x1c5fd359 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:0: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x1c5fdb9b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358b86 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:02:22.276593 [ 2732 ] {d2ce49df-a322-4c8f-aac9-b8f3ed60329c} TCPHandler: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x147cc2fd in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x1c5fd359 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:0: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x1c5fdb9b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358b86 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 31. ? @ 0x7f8b832b7609 in ? 2024.03.19 13:02:22.492181 [ 2732 ] {c4d98579-ed3e-43fd-b3fd-93e011186ec7} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:22.495341 [ 2732 ] {c4d98579-ed3e-43fd-b3fd-93e011186ec7} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:22.504816 [ 2732 ] {fe030fd2-6058-44a9-9dd8-c5b3d8a63b51} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x1e1ac3e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac00a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:22.505554 [ 2732 ] {fe030fd2-6058-44a9-9dd8-c5b3d8a63b51} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x107f2f42 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x1e1ac3e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac00a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.163657 [ 2732 ] {b6892d7e-4ff8-4c71-be89-cdf895a3d229} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception while processing select throwIf(100 < number) from numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.447376 [ 2732 ] {b6892d7e-4ff8-4c71-be89-cdf895a3d229} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.453474 [ 2732 ] {60435625-222b-4548-b5ff-3ac61002e814} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.447386 [ 12010 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_21105} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 227136294654413474'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34492) (in query: alter table test update value=12 where id=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.455668 [ 2732 ] {60435625-222b-4548-b5ff-3ac61002e814} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.455802 [ 12010 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_21105} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 227136294654413474'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:23.641427 [ 2732 ] {9139a272-b365-44d9-8428-83f7b85352e2} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt1 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.647644 [ 2732 ] {9139a272-b365-44d9-8428-83f7b85352e2} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.660103 [ 2732 ] {8d218c15-7335-47ad-be21-34186320a55d} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt2 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.665783 [ 2732 ] {8d218c15-7335-47ad-be21-34186320a55d} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.674597 [ 2732 ] {4a78eb3e-6bfc-4108-9bff-1b88e6a2a1f8} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: select 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.681721 [ 2732 ] {4a78eb3e-6bfc-4108-9bff-1b88e6a2a1f8} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.947639 [ 1029 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_22777} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34526) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:23.954012 [ 1029 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_22777} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:24.206800 [ 1029 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_31881} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34536) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:24.213758 [ 1029 ] {01167_isolation_hermitage_test_2ssp6k8f_tx2_31881} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:25.126621 [ 2732 ] {c8fd37be-d63d-489e-8cf2-cc941b64e44f} executeQuery: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: set transaction snapshot 5), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x1e1ad4b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac073 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.127605 [ 2732 ] {c8fd37be-d63d-489e-8cf2-cc941b64e44f} TCPHandler: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x1e1ad4b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac073 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.336613 [ 2732 ] {8a81f1d4-4b7d-46be-9316-a02d07223eee} executeQuery: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: create table m (n int) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a653c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.340166 [ 2732 ] {8a81f1d4-4b7d-46be-9316-a02d07223eee} TCPHandler: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a653c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.346269 [ 2732 ] {2ff46cef-bb42-4f3c-b413-c4b63cd87afc} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.347125 [ 2732 ] {2ff46cef-bb42-4f3c-b413-c4b63cd87afc} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.586095 [ 2732 ] {d7e12026-4e80-4f89-908b-b407eb5943a1} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_po63vjyu.m (405df933-f330-48b4-837e-df250c902fc8)) does not support transactions. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: insert into m values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1df538b9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e08f5af in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.596521 [ 2732 ] {d7e12026-4e80-4f89-908b-b407eb5943a1} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_po63vjyu.m (405df933-f330-48b4-837e-df250c902fc8)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1df538b9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x1e08f5af in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.606992 [ 2732 ] {d7006670-bfc8-43e8-88a6-89cdbe5aedbd} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.617319 [ 2732 ] {d7006670-bfc8-43e8-88a6-89cdbe5aedbd} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.625489 [ 2732 ] {ac261ae5-4fe8-4913-a2c7-98288ffc5804} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.626775 [ 2732 ] {ac261ae5-4fe8-4913-a2c7-98288ffc5804} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.892155 [ 2732 ] {8dd9c49d-3b7a-478c-b7eb-900b3ecc1e7d} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_po63vjyu.m (405df933-f330-48b4-837e-df250c902fc8)) does not support transactions. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1df538b9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7b89 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.894191 [ 2732 ] {8dd9c49d-3b7a-478c-b7eb-900b3ecc1e7d} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_po63vjyu.m (405df933-f330-48b4-837e-df250c902fc8)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x1df538b9 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7b89 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.900471 [ 2732 ] {d9c053bd-4c9c-41c5-9519-91db1923530d} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47884) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:25.901439 [ 2732 ] {d9c053bd-4c9c-41c5-9519-91db1923530d} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:44.027620 [ 26899 ] {1765dd9a-5562-4001-967b-5806c22ae6cf} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44494) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1 GROUP BY 'dummy')[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [120]) @ 0x1cccb282 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x1e21a8a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4913b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:44.036664 [ 26899 ] {1765dd9a-5562-4001-967b-5806c22ae6cf} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [120]) @ 0x1cccb282 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x1e21a8a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4913b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:46.145248 [ 26920 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_32635} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 12101120098515942090'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60264) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:46.146681 [ 26920 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_32635} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 12101120098515942090'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:46.308185 [ 12828 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_17766} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60292) (in query: select 9, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:46.312653 [ 12828 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_17766} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:46.396348 [ 12828 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_6918} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60310) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:46.397542 [ 12828 ] {01167_isolation_hermitage_test_2ssp6k8f_tx8_6918} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:55.145818 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_1810} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 13633817426308212969'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33970) (in query: alter table test update value = 12 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:55.147276 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_1810} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 13633817426308212969'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:55.271148 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_4084} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34010) (in query: alter table test update value = 18 where id = 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:55.271970 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_4084} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:02:55.366277 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_16304} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34020) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:02:55.367238 [ 12093 ] {01167_isolation_hermitage_test_2ssp6k8f_tx10_16304} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:03.240131 [ 6031 ] {d6a852b3-2325-48a6-810b-a6cfc4833b09} executeQuery: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54606) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1)[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:119: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x1ec86fad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df48fee in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:03.251274 [ 6031 ] {d6a852b3-2325-48a6-810b-a6cfc4833b09} TCPHandler: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:119: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x1ec86fad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df48fee in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:11.930841 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_12055} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 15443227823455468397'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40984) (in query: alter table test delete where value = 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:11.932473 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_12055} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 15443227823455468397'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:11.987534 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_6816} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41010) (in query: select 17, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:11.988735 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_6816} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x103350a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:463: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a6488 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:12.012171 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_2225} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41022) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:12.013664 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx15_2225} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:18.171668 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx17_25419} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 17784671544776784585'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51422) (in query: alter table test update value = 11 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:18.172559 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx17_25419} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 17784671544776784585'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x1f524539 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x1f5242f6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x1f746271 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x1f747ac9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df4923f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:18.231277 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx17_13194} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51442) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:18.232362 [ 4229 ] {01167_isolation_hermitage_test_2ssp6k8f_tx17_13194} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x1e1acabe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x1e1ac09e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:20.373349 [ 4617 ] {edc67630-aed1-4358-b54a-460405b878c0} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.join, because some tables depend on it: test_zddksa1m.s, test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51772) (comment: 01160_table_dependencies.sh) (in query: rename table join to join1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1233: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x1d29dfb2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a94ae in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:20.426934 [ 4617 ] {edc67630-aed1-4358-b54a-460405b878c0} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.join, because some tables depend on it: test_zddksa1m.s, test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1233: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x1d29dfb2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a94ae in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:21.119456 [ 4617 ] {f2c38489-7921-49ad-b56a-dce0d5ad815c} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.join (09fdaa42-c76a-49cb-8c0c-a31d3e99d58a), because some tables depend on it: test_zddksa1m.s, test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51792) (comment: 01160_table_dependencies.sh) (in query: drop table join), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e9f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c353 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:21.121713 [ 4617 ] {f2c38489-7921-49ad-b56a-dce0d5ad815c} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.join (09fdaa42-c76a-49cb-8c0c-a31d3e99d58a), because some tables depend on it: test_zddksa1m.s, test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e9f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c353 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:21.697102 [ 4617 ] {2c658d75-f938-496b-b132-daa44f9e9e64} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.dict1 (6de4560d-4db5-4407-b02a-1909657a6b3a), because some tables depend on it: test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.join. (HAVE_DEPENDENT_OBJECTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51838) (comment: 01160_table_dependencies.sh) (in query: detach dictionary dict1 permanently), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1233: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x1d29dfb2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c67d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:21.698936 [ 4617 ] {2c658d75-f938-496b-b132-daa44f9e9e64} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.dict1 (6de4560d-4db5-4407-b02a-1909657a6b3a), because some tables depend on it: test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1233: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x1d29dfb2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c67d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:23.351355 [ 2732 ] {66a4c95d-a45f-4836-aeed-f800548340f0} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.dict1, because some tables depend on it: test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.join. (HAVE_DEPENDENT_OBJECTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51920) (comment: 01160_table_dependencies.sh) (in query: rename database test_zddksa1m to test_zddksa1m_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e9f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x1ceebfe6 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/BlockIO.h:14: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x1e0a8a08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x1e0a7889 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:23.355689 [ 2732 ] {66a4c95d-a45f-4836-aeed-f800548340f0} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_zddksa1m.dict1, because some tables depend on it: test_zddksa1m.t (b808a32c-ce9b-4c26-84b4-f72e2a6afccd), test_zddksa1m.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x1d2a3a57 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1273: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e576 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x1d29e9f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x1ceebfe6 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/BlockIO.h:14: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x1e0a8a08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x1e0a7889 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.457156 [ 12010 ] {3ded5d11-4f49-446e-a7c1-1dcf8cf2ba10} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37514) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(300));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1e327201 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x1e3266bf in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:103: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x1fc72d7e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x1f98c164 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:42: DB::CreatingSetsTransform::work() @ 0x1fc7148b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.459456 [ 12010 ] {3ded5d11-4f49-446e-a7c1-1dcf8cf2ba10} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1e327201 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x1e3266bf in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:103: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x1fc72d7e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x1f98c164 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:42: DB::CreatingSetsTransform::work() @ 0x1fc7148b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.506150 [ 24576 ] {a3fcd28c-2511-455e-81a0-e0c880f7b9fb} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37530) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.508344 [ 24576 ] {a3fcd28c-2511-455e-81a0-e0c880f7b9fb} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.540902 [ 12010 ] {aa11d0cd-3f90-4866-8720-759b3a18dcae} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37514) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(210));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1e327201 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x1e3266bf in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:103: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x1fc72d7e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x1f98c164 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:42: DB::CreatingSetsTransform::work() @ 0x1fc7148b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.542164 [ 12010 ] {aa11d0cd-3f90-4866-8720-759b3a18dcae} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1e327201 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x1e3266bf in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:103: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x1fc72d7e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x1f98c164 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:42: DB::CreatingSetsTransform::work() @ 0x1fc7148b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.582255 [ 24576 ] {b9517ae4-36ab-4a5d-a47c-08dbb0348ddf} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37530) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(21);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.584506 [ 24576 ] {b9517ae4-36ab-4a5d-a47c-08dbb0348ddf} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.715618 [ 24576 ] {26a511d7-d6e3-48ba-b4e9-484fc16be780} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37530) (comment: 01132_max_rows_to_read.sql) (in query: -- check early exception if the estimated number of rows is high SELECT * FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:26.716479 [ 24576 ] {26a511d7-d6e3-48ba-b4e9-484fc16be780} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x1cca83bc in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8fa2 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:29.533826 [ 12010 ] {01f2be19-fdb4-445d-af16-cb386ef3ac1e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37656) (comment: 01109_inflating_cross_join.sql) (in query: SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::reserve(unsigned long) @ 0x1e9117f2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x1d90b716 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:0: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x1d90de2f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x1fc9287f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:26: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x1fec85b1 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6bcb in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:29.535367 [ 12010 ] {01f2be19-fdb4-445d-af16-cb386ef3ac1e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::reserve(unsigned long) @ 0x1e9117f2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x1d90b716 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:0: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x1d90de2f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x1fc9287f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:26: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x1fec85b1 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6bcb in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.571248 [ 2732 ] {64c815b2-1b93-4e1e-86ad-6578dcf57e31} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37722) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.577075 [ 2732 ] {64c815b2-1b93-4e1e-86ad-6578dcf57e31} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.790909 [ 4068 ] {3d4e62a8-2a17-417c-a2d9-b97697db91a7} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37748) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.790960 [ 12818 ] {d54301ce-b7a6-4048-9d55-34296fb22898} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37800) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.791732 [ 4103 ] {d9b1bf7f-e280-45d1-ba62-5ffaadbc1ac9} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37736) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.791998 [ 1029 ] {270a5846-a339-4584-9000-c78600c95c3b} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37770) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.792015 [ 2732 ] {c013fb03-fd7e-4e56-a446-d90185f9bc9f} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37820) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.792141 [ 26920 ] {db73a9ec-9d13-43a4-bfa1-5f2cc0b936fd} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37814) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.792563 [ 4068 ] {3d4e62a8-2a17-417c-a2d9-b97697db91a7} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.792592 [ 11125 ] {544fa203-dcb8-4216-a495-d8871536cc29} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37788) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:30.793108 [ 12818 ] {d54301ce-b7a6-4048-9d55-34296fb22898} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.008820 [ 1028 ] {7c73edd9-abb7-46b4-84cb-07badfacf41c} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37798) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009010 [ 26882 ] {6f3003da-b2fb-4670-a5f9-71102e8aaa0e} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37772) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009436 [ 26920 ] {db73a9ec-9d13-43a4-bfa1-5f2cc0b936fd} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009571 [ 11125 ] {544fa203-dcb8-4216-a495-d8871536cc29} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009673 [ 2732 ] {c013fb03-fd7e-4e56-a446-d90185f9bc9f} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009717 [ 4103 ] {d9b1bf7f-e280-45d1-ba62-5ffaadbc1ac9} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.009750 [ 1029 ] {270a5846-a339-4584-9000-c78600c95c3b} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.010078 [ 4068 ] {c2ac37ef-6a34-4150-900b-1d0e587c0361} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37850) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.010969 [ 1028 ] {7c73edd9-abb7-46b4-84cb-07badfacf41c} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.011665 [ 26882 ] {6f3003da-b2fb-4670-a5f9-71102e8aaa0e} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.012728 [ 4068 ] {c2ac37ef-6a34-4150-900b-1d0e587c0361} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:31.603631 [ 725 ] {} test_opkfnkms.concurrent_optimize_table (bb5bd911-944e-4c83-8654-fd68e0c4235e): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:32.056323 [ 744 ] {} test_opkfnkms.concurrent_optimize_table (bb5bd911-944e-4c83-8654-fd68e0c4235e): void DB::StorageReplicatedMergeTree::mergeSelectingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x1ed30a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3202: DB::StorageReplicatedMergeTree::mergeSelectingTask() @ 0x1edadff3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_5, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43982 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:32.056541 [ 743 ] {} test_opkfnkms.concurrent_optimize_table (bb5bd911-944e-4c83-8654-fd68e0c4235e): Removing temporary directory /var/lib/clickhouse/store/bb5/bb5bd911-944e-4c83-8654-fd68e0c4235e/tmp_insert_-8_21_21_0/ 2024.03.19 13:03:32.276735 [ 4068 ] {f7294ca7-c55f-40e6-b05e-5c6f71f49d6e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37882) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.276812 [ 2732 ] {1761887f-4331-490b-87c6-0fb6ac2ed813} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37864) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.276813 [ 4103 ] {2cf786a6-2737-436d-a2de-bf6730aa3f05} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37874) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.277030 [ 1028 ] {2bbc170a-0193-4534-a92f-7bf1617e5a9e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37950) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.276999 [ 11125 ] {9e4b7b56-2dcf-4aa8-ab82-7531d6e49938} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37888) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.278659 [ 12571 ] {d181e501-8dc3-40b5-8d4a-13df542be88e} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37992) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566040 [ 12093 ] {9b1208c9-1f57-4e85-99ea-fbb681308141} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38018) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566392 [ 12571 ] {d181e501-8dc3-40b5-8d4a-13df542be88e} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566558 [ 2732 ] {1761887f-4331-490b-87c6-0fb6ac2ed813} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566774 [ 1028 ] {2bbc170a-0193-4534-a92f-7bf1617e5a9e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566838 [ 11125 ] {9e4b7b56-2dcf-4aa8-ab82-7531d6e49938} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566857 [ 4103 ] {2cf786a6-2737-436d-a2de-bf6730aa3f05} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.566984 [ 4068 ] {f7294ca7-c55f-40e6-b05e-5c6f71f49d6e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.579259 [ 26920 ] {c7c88e3b-67fa-4be8-95c4-92763c1e27e3} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37970) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.580461 [ 4593 ] {90741bb6-8f9d-49a6-9454-579995bc5cf2} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37976) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.580463 [ 6031 ] {f8436778-b727-4d4a-af8c-b23e5f04d0d0} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38028) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.588944 [ 12093 ] {9b1208c9-1f57-4e85-99ea-fbb681308141} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.600552 [ 6031 ] {f8436778-b727-4d4a-af8c-b23e5f04d0d0} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.603118 [ 4593 ] {90741bb6-8f9d-49a6-9454-579995bc5cf2} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.603145 [ 26920 ] {c7c88e3b-67fa-4be8-95c4-92763c1e27e3} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:32.973034 [ 1029 ] {04a6c1c2-eae5-4065-a03b-3393cf841c98} executeQuery: Code: 341. DB::Exception: Log entry log-0000000014 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37934) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.031068 [ 1029 ] {04a6c1c2-eae5-4065-a03b-3393cf841c98} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000014 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676187 [ 4068 ] {2ff7cac0-9fc8-4167-bec9-2909f8409653} executeQuery: Code: 236. DB::Exception: Log pulling is cancelled. (ABORTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38176) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0xcc76302 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:583: DB::ReplicatedMergeTreeQueue::pullLogsToQueue(std::shared_ptr, std::function, DB::ReplicatedMergeTreeQueue::PullLogsReason) @ 0x1f6ab2bb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:0: DB::ReplicatedMergeTreeMergePredicate::ReplicatedMergeTreeMergePredicate(DB::ReplicatedMergeTreeQueue&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6cc64a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1753: DB::ReplicatedMergeTreeQueue::getMergePredicate(std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6c0ef1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x1edc9371 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc82cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676287 [ 1028 ] {5b8b9f22-dcc9-4bf9-8e62-6551f50d2be8} executeQuery: Code: 236. DB::Exception: Log pulling is cancelled. (ABORTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38164) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0xcc76302 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:583: DB::ReplicatedMergeTreeQueue::pullLogsToQueue(std::shared_ptr, std::function, DB::ReplicatedMergeTreeQueue::PullLogsReason) @ 0x1f6ab2bb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:0: DB::ReplicatedMergeTreeMergePredicate::ReplicatedMergeTreeMergePredicate(DB::ReplicatedMergeTreeQueue&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6cc64a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1753: DB::ReplicatedMergeTreeQueue::getMergePredicate(std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6c0ef1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x1edc9371 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc82cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676389 [ 26920 ] {038de38e-d2ce-4652-a445-cb0ed6bd3edb} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38106) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676496 [ 12818 ] {d05c1850-8ac1-499f-90bd-73f2a7e26742} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38212) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676527 [ 6031 ] {af03c19b-fc9b-45ab-a1ba-d8efa801a277} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38140) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676552 [ 4593 ] {960479d7-3008-4d72-9907-67021aa98e1b} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38120) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.676528 [ 12093 ] {f942d16f-2ca7-48d5-93ef-dccafd54271f} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38136) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.678052 [ 12818 ] {d05c1850-8ac1-499f-90bd-73f2a7e26742} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.678130 [ 1028 ] {5b8b9f22-dcc9-4bf9-8e62-6551f50d2be8} TCPHandler: Code: 236. DB::Exception: Log pulling is cancelled. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0xcc76302 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:583: DB::ReplicatedMergeTreeQueue::pullLogsToQueue(std::shared_ptr, std::function, DB::ReplicatedMergeTreeQueue::PullLogsReason) @ 0x1f6ab2bb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:0: DB::ReplicatedMergeTreeMergePredicate::ReplicatedMergeTreeMergePredicate(DB::ReplicatedMergeTreeQueue&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6cc64a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1753: DB::ReplicatedMergeTreeQueue::getMergePredicate(std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6c0ef1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x1edc9371 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc82cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.678347 [ 4068 ] {2ff7cac0-9fc8-4167-bec9-2909f8409653} TCPHandler: Code: 236. DB::Exception: Log pulling is cancelled. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0xcc76302 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:583: DB::ReplicatedMergeTreeQueue::pullLogsToQueue(std::shared_ptr, std::function, DB::ReplicatedMergeTreeQueue::PullLogsReason) @ 0x1f6ab2bb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:0: DB::ReplicatedMergeTreeMergePredicate::ReplicatedMergeTreeMergePredicate(DB::ReplicatedMergeTreeQueue&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6cc64a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1753: DB::ReplicatedMergeTreeQueue::getMergePredicate(std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x1f6c0ef1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x1edc9371 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc82cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.681050 [ 6031 ] {af03c19b-fc9b-45ab-a1ba-d8efa801a277} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.698051 [ 26920 ] {038de38e-d2ce-4652-a445-cb0ed6bd3edb} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.702474 [ 4593 ] {960479d7-3008-4d72-9907-67021aa98e1b} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.703658 [ 12093 ] {f942d16f-2ca7-48d5-93ef-dccafd54271f} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.844437 [ 4593 ] {5ffdd182-b9a2-401a-a56d-8af38014dfe5} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38236) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:33.846598 [ 4593 ] {5ffdd182-b9a2-401a-a56d-8af38014dfe5} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.099715 [ 12093 ] {a9ba62c8-af72-462d-bc13-ed4b616d81e6} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38266) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.101638 [ 12571 ] {9d241f2b-de8a-483f-9d33-2b6dedada725} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38258) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.102555 [ 12093 ] {a9ba62c8-af72-462d-bc13-ed4b616d81e6} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.104147 [ 12571 ] {9d241f2b-de8a-483f-9d33-2b6dedada725} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.102108 [ 12828 ] {e65f8683-9a45-4dbc-a9c9-403176e1f217} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38290) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.106378 [ 12828 ] {e65f8683-9a45-4dbc-a9c9-403176e1f217} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.107492 [ 6031 ] {a28e32e1-1c7f-4f61-9a76-737d31a47f0c} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38276) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.115077 [ 6031 ] {a28e32e1-1c7f-4f61-9a76-737d31a47f0c} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.119726 [ 4071 ] {6075f52f-18c6-40f7-a312-9e4e37b66f02} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38306) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.120784 [ 4071 ] {6075f52f-18c6-40f7-a312-9e4e37b66f02} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.125767 [ 1029 ] {81be5aea-aa51-4459-94e3-f040c9af96a7} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38178) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.127301 [ 1029 ] {81be5aea-aa51-4459-94e3-f040c9af96a7} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.202493 [ 12093 ] {7bc6abba-c9f7-430a-a6b5-d1f6155fb59a} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38316) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.204359 [ 12093 ] {7bc6abba-c9f7-430a-a6b5-d1f6155fb59a} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.668939 [ 738 ] {} test_opkfnkms.concurrent_optimize_table (e95e382b-6301-414c-b617-48f41755fcda): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:34.686283 [ 12571 ] {9eafd2c4-9192-4d84-b5a5-5b22a6ccbe4e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38350) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.687031 [ 4593 ] {4c80736c-0978-4fb1-a4da-cb59b33799eb} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38346) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.691886 [ 12571 ] {9eafd2c4-9192-4d84-b5a5-5b22a6ccbe4e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.693777 [ 6031 ] {0ad7561f-6b34-4011-b42e-d4ff4e0faf88} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38364) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.694533 [ 4593 ] {4c80736c-0978-4fb1-a4da-cb59b33799eb} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.699069 [ 6031 ] {0ad7561f-6b34-4011-b42e-d4ff4e0faf88} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.705615 [ 12093 ] {52262c76-02dc-459e-ae92-5b31652b2baf} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38360) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.735847 [ 4593 ] {edbea9c6-1619-4782-b1b6-a7de8d71be0d} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49592) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.756862 [ 12571 ] {52b8dd30-631d-4bd3-81a1-916d00308175} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49600) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.832052 [ 12093 ] {52262c76-02dc-459e-ae92-5b31652b2baf} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.834417 [ 4593 ] {edbea9c6-1619-4782-b1b6-a7de8d71be0d} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:34.834438 [ 12571 ] {52b8dd30-631d-4bd3-81a1-916d00308175} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.564992 [ 701 ] {} test_opkfnkms.concurrent_optimize_table (e4a3ba50-9b1d-4d02-9c2b-9070bf467fdf): void DB::StorageReplicatedMergeTree::mergeSelectingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x1ed30a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3202: DB::StorageReplicatedMergeTree::mergeSelectingTask() @ 0x1edadff3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_5, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43982 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:35.566996 [ 4617 ] {d54eed33-97ba-4941-837a-2ae8f13e2dd0} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49710) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.570058 [ 4617 ] {d54eed33-97ba-4941-837a-2ae8f13e2dd0} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.583736 [ 4071 ] {e9b0183a-8bab-44cf-881c-ef6ed416ad79} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49654) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.585861 [ 12828 ] {b758239e-ab7b-4a5c-87c2-c5067da7b3e7} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49664) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.591381 [ 12571 ] {d1ab8e53-4802-4b1e-b746-d59fbe10fbf9} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49622) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.592083 [ 12828 ] {b758239e-ab7b-4a5c-87c2-c5067da7b3e7} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.595557 [ 4071 ] {e9b0183a-8bab-44cf-881c-ef6ed416ad79} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:35.900735 [ 4593 ] {a58d7649-03a5-4734-9301-0d404f1425be} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW ENGINES query, SHOW ENGINES, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60586) (comment: 01071_http_header_exception_code.sh) (in query: BADREQUEST ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.153262 [ 4617 ] {a496aba8-37d3-465e-92e5-dceeca471ab7} executeQuery: Code: 60. DB::Exception: Table test_fni2o6bv.test_table_for_01070_exception_code_in_query_log_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49716) (comment: 01070_exception_code_in_query_log_table.sql) (in query: SELECT * FROM test_table_for_01070_exception_code_in_query_log_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.153486 [ 4593 ] {a58d7649-03a5-4734-9301-0d404f1425be} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW ENGINES query, SHOW ENGINES, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:36.153718 [ 1026 ] {0b6872db-7325-497b-b902-dd1fbb82519b} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49750) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.154031 [ 12571 ] {d1ab8e53-4802-4b1e-b746-d59fbe10fbf9} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.153703 [ 26902 ] {bfd7fb87-c168-4ccd-9b29-c73e818ee72f} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49726) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161206 [ 12010 ] {b7f1466f-8363-40ad-ac91-166d9f937e9e} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49752) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161215 [ 24576 ] {d76694ea-5f8f-47da-b765-4f3b0d949fa6} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49754) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161429 [ 4617 ] {a496aba8-37d3-465e-92e5-dceeca471ab7} TCPHandler: Code: 60. DB::Exception: Table test_fni2o6bv.test_table_for_01070_exception_code_in_query_log_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161411 [ 4618 ] {ddf92564-1bb2-42ef-be3a-711b3f9accbc} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49762) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161238 [ 4229 ] {38555316-eb53-40a7-82d1-2ce8998c6f0e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49656) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.161446 [ 11869 ] {f0d49ecc-272d-4bc6-8405-b776a7e6e449} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49748) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.162582 [ 1026 ] {0b6872db-7325-497b-b902-dd1fbb82519b} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.163345 [ 4618 ] {ddf92564-1bb2-42ef-be3a-711b3f9accbc} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.164303 [ 24576 ] {d76694ea-5f8f-47da-b765-4f3b0d949fa6} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.164683 [ 26902 ] {bfd7fb87-c168-4ccd-9b29-c73e818ee72f} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.167834 [ 11869 ] {f0d49ecc-272d-4bc6-8405-b776a7e6e449} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.180071 [ 12010 ] {b7f1466f-8363-40ad-ac91-166d9f937e9e} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.181991 [ 4229 ] {38555316-eb53-40a7-82d1-2ce8998c6f0e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.202660 [ 26902 ] {5826ec43-0c58-4502-b847-f3d213ead971} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49782) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.275683 [ 26902 ] {5826ec43-0c58-4502-b847-f3d213ead971} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.489172 [ 11869 ] {067e8ebd-dc17-479b-be4c-f6cd483b2d0b} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49804) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.492327 [ 11869 ] {067e8ebd-dc17-479b-be4c-f6cd483b2d0b} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.505434 [ 1026 ] {22145522-b380-4a13-b8d2-e2962d89b4f1} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49822) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.505711 [ 24576 ] {3ec127ec-760a-464c-86a2-87428b685bfd} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49834) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.507107 [ 1026 ] {22145522-b380-4a13-b8d2-e2962d89b4f1} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.507420 [ 24576 ] {3ec127ec-760a-464c-86a2-87428b685bfd} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.514876 [ 11869 ] {386023b3-db53-4c55-865e-3ceb4fb26efa} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49844) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.516799 [ 4618 ] {7805b28e-7f2d-4d97-9b45-111073a47596} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49848) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.517563 [ 11869 ] {386023b3-db53-4c55-865e-3ceb4fb26efa} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.518342 [ 4618 ] {7805b28e-7f2d-4d97-9b45-111073a47596} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.571508 [ 6031 ] {341e8246-e303-43ab-ac6b-38e362b4c318} executeQuery: Code: 341. DB::Exception: Log entry log-0000000014 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49684) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.573214 [ 6031 ] {341e8246-e303-43ab-ac6b-38e362b4c318} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000014 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.639134 [ 11869 ] {e15218de-079c-4ab4-8c47-c7ff9721b205} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49868) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:36.640832 [ 11869 ] {e15218de-079c-4ab4-8c47-c7ff9721b205} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.419437 [ 26889 ] {e54eb995-a1dc-4964-8df8-2d40cb1b53d3} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49960) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.419910 [ 11869 ] {a9020c16-a5e6-4f91-8558-9735609f0857} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49926) (comment: 01070_h3_to_children.sql) (in query: SELECT h3ToChildren(599405990164561919, 16);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff4d618 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:03:37.805794 [ 4068 ] {132070ec-78c4-4f86-9b1d-741f715659b6} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49968) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.805879 [ 26882 ] {8eda5e28-4bb7-4741-8576-e91ce663a504} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49974) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806008 [ 11125 ] {2828ce1a-d081-45ea-81a6-628937efe2e6} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49970) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806011 [ 4618 ] {21628cc9-c633-44ea-bab6-c370b1eb235e} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49964) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal32('e', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x1c97aaa5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x1cdc3981 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4a9be in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdbbf87 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcdb5f7b in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcda82bc in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcda7ac5 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcda6dc0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:37.806169 [ 1030 ] {166e11ae-3d02-4eb1-acba-0c5dbfa2b945} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49904) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806255 [ 1026 ] {c2fafcc5-9218-49ef-913b-1f791cc71391} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49910) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806309 [ 26899 ] {bb465fec-4253-4085-a0c8-242b02596dce} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50020) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806330 [ 12010 ] {c91b54f3-7f5c-44b0-82a3-b7282b288eda} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49922) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806552 [ 26902 ] {09d67796-9439-4937-a190-ef1e0f96457c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49898) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806698 [ 26889 ] {e54eb995-a1dc-4964-8df8-2d40cb1b53d3} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.806502 [ 11869 ] {a9020c16-a5e6-4f91-8558-9735609f0857} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff4d618 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:03:37.807846 [ 4618 ] {21628cc9-c633-44ea-bab6-c370b1eb235e} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x1c97aaa5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x1cdc3981 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4a9be in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdbbf87 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcdb5f7b in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcda82bc in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcda7ac5 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcda6dc0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:37.807870 [ 4068 ] {132070ec-78c4-4f86-9b1d-741f715659b6} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.808042 [ 26899 ] {bb465fec-4253-4085-a0c8-242b02596dce} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.808059 [ 11125 ] {2828ce1a-d081-45ea-81a6-628937efe2e6} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.810285 [ 26882 ] {8eda5e28-4bb7-4741-8576-e91ce663a504} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.814697 [ 1026 ] {c2fafcc5-9218-49ef-913b-1f791cc71391} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.816006 [ 1030 ] {166e11ae-3d02-4eb1-acba-0c5dbfa2b945} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.828872 [ 26902 ] {09d67796-9439-4937-a190-ef1e0f96457c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.829490 [ 12010 ] {c91b54f3-7f5c-44b0-82a3-b7282b288eda} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:37.976005 [ 12839 ] {e50cc6cf-5dd6-4738-8fd6-a5aea1010a96} test_opkfnkms.concurrent_optimize_table (d11edd7b-913e-4e18-87af-f72ad31299e3): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table (this might take several minutes) 2024.03.19 13:03:37.980966 [ 12839 ] {e50cc6cf-5dd6-4738-8fd6-a5aea1010a96} test_opkfnkms.concurrent_optimize_table (d11edd7b-913e-4e18-87af-f72ad31299e3): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table were removed by another replica 2024.03.19 13:03:38.232311 [ 4618 ] {1bffa53e-e607-47eb-9902-2c7107c76324} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49964) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal64('e', 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x1c97b68d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x1cdc4061 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4bbfe in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdd3820 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcdcd81b in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcdbfb9c in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdbf3a5 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdbe6a0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:38.232348 [ 26883 ] {23628c18-4bab-4572-bae5-bcb6e524fb08} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49992) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:38.232504 [ 2732 ] {cdc5949b-bb8e-401b-928c-6aa06fe7b364} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49940) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:38.233804 [ 4618 ] {1bffa53e-e607-47eb-9902-2c7107c76324} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x1c97b68d in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x1cdc4061 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4bbfe in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdd3820 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcdcd81b in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcdbfb9c in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdbf3a5 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdbe6a0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:38.234229 [ 2732 ] {cdc5949b-bb8e-401b-928c-6aa06fe7b364} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:38.234667 [ 26883 ] {23628c18-4bab-4572-bae5-bcb6e524fb08} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:38.614880 [ 4618 ] {dfeb16a7-5a33-4868-b364-4d0ecbc5491b} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49964) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal128('e', 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x1c97c4e9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x1cdc47e1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4cf82 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdeb527 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcde52db in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcdd743c in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdd6c45 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdd5f40 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:38.618171 [ 4618 ] {dfeb16a7-5a33-4868-b364-4d0ecbc5491b} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0xc6e1406 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x1c97c4e9 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x1cdc47e1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x1ce4cf82 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0xcdeb527 in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0xcde52db in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xcdd743c in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdd6c45 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcdd5f40 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:03:39.244168 [ 733 ] {} test_opkfnkms.concurrent_optimize_table (d11edd7b-913e-4e18-87af-f72ad31299e3): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:39.252250 [ 26882 ] {dea28083-e5ee-47fe-92a9-360a6ee344b4} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50142) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.259867 [ 26882 ] {dea28083-e5ee-47fe-92a9-360a6ee344b4} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.499724 [ 29112 ] {4e307949-8ad3-4ef3-a71d-678d25e69ca1} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50222) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.499762 [ 697 ] {} test_opkfnkms.concurrent_optimize_table (d11edd7b-913e-4e18-87af-f72ad31299e3): void DB::StorageReplicatedMergeTree::mergeSelectingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x1ed30a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3202: DB::StorageReplicatedMergeTree::mergeSelectingTask() @ 0x1edadff3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_5, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43982 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:39.500303 [ 26882 ] {11496925-415c-4ee7-af83-e34042f3b49f} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50236) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.501882 [ 26882 ] {11496925-415c-4ee7-af83-e34042f3b49f} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.502005 [ 29112 ] {4e307949-8ad3-4ef3-a71d-678d25e69ca1} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.521221 [ 29110 ] {743366fa-ac9a-4835-9705-c8d62f5dda40} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50204) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.522520 [ 29111 ] {3ea88268-1483-429b-81b9-57006d6d067b} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50214) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.526091 [ 11778 ] {38e88d99-a1b7-48ac-94fb-a852a5ce87ff} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50186) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.528762 [ 29110 ] {743366fa-ac9a-4835-9705-c8d62f5dda40} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.529507 [ 29111 ] {3ea88268-1483-429b-81b9-57006d6d067b} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.531431 [ 11778 ] {38e88d99-a1b7-48ac-94fb-a852a5ce87ff} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.551314 [ 26889 ] {fce4f3a9-4210-434e-bb54-ea55539ecf24} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50260) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.553207 [ 26882 ] {615d7b83-b4ad-4972-9a1d-0decdaff621e} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50272) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.554647 [ 26882 ] {615d7b83-b4ad-4972-9a1d-0decdaff621e} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.555108 [ 26889 ] {fce4f3a9-4210-434e-bb54-ea55539ecf24} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.583348 [ 29113 ] {4dc6d37d-0850-4feb-bbdc-778ae96fe57c} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50246) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.585386 [ 29113 ] {4dc6d37d-0850-4feb-bbdc-778ae96fe57c} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.591280 [ 26889 ] {21e43bc8-695c-4f7f-b619-f7ac380fc9ee} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50284) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.593343 [ 26889 ] {21e43bc8-695c-4f7f-b619-f7ac380fc9ee} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.875270 [ 29110 ] {c94ffafd-ba17-453c-956d-bf6518f55861} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50320) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.876583 [ 29110 ] {c94ffafd-ba17-453c-956d-bf6518f55861} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.877448 [ 11778 ] {29ebf06d-0770-4756-be1c-f497ad38b099} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50316) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.878858 [ 11778 ] {29ebf06d-0770-4756-be1c-f497ad38b099} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.881509 [ 29111 ] {bcfee15b-5e6e-4349-b16b-f604c3eb1e4c} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50332) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.882774 [ 29111 ] {bcfee15b-5e6e-4349-b16b-f604c3eb1e4c} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.936408 [ 11778 ] {efea7b44-0d8e-4201-870d-486044780424} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50340) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:39.937772 [ 11778 ] {efea7b44-0d8e-4201-870d-486044780424} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.092110 [ 26883 ] {c1fd6a6d-fd82-4cde-936b-09dc1f501e23} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50356) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.093303 [ 26883 ] {c1fd6a6d-fd82-4cde-936b-09dc1f501e23} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.209984 [ 26883 ] {5619ef57-89dc-404e-9754-1aab6766246a} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50366) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.215587 [ 26883 ] {5619ef57-89dc-404e-9754-1aab6766246a} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.217804 [ 11778 ] {afde7f16-44a3-4f6e-ab61-3a02703455c4} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50382) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.220133 [ 11778 ] {afde7f16-44a3-4f6e-ab61-3a02703455c4} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.220746 [ 29110 ] {fd5f7f92-a4b1-4c35-af00-008b2da8c290} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50410) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.221906 [ 29110 ] {fd5f7f92-a4b1-4c35-af00-008b2da8c290} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.264191 [ 29111 ] {18305cad-e9f3-4b34-a247-8e8871de529e} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50396) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.267159 [ 29111 ] {18305cad-e9f3-4b34-a247-8e8871de529e} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.281869 [ 11778 ] {774da5be-b8bd-4920-a54b-81ac3f03682a} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50432) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.283006 [ 11778 ] {774da5be-b8bd-4920-a54b-81ac3f03682a} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.448292 [ 11778 ] {56cee5f7-b62f-4b4b-a1a3-c1674d6a3132} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50448) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.449455 [ 11778 ] {56cee5f7-b62f-4b4b-a1a3-c1674d6a3132} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.508526 [ 26899 ] {3544d693-81f3-42ec-a6b0-cd0862147871} executeQuery: Code: 341. DB::Exception: Log entry log-0000000088 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50176) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.513328 [ 26899 ] {3544d693-81f3-42ec-a6b0-cd0862147871} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000088 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.567242 [ 29111 ] {431159cc-0cf6-42f2-ab2d-84ddce0d0869} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50468) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.574712 [ 29111 ] {431159cc-0cf6-42f2-ab2d-84ddce0d0869} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.612632 [ 29113 ] {c02e2fa4-a4a4-462c-b801-f6d3f2634fc5} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50490) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.614585 [ 29113 ] {c02e2fa4-a4a4-462c-b801-f6d3f2634fc5} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.621703 [ 29111 ] {730a708d-8344-47a4-aabe-d4604c3f71a2} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50504) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.623004 [ 29111 ] {730a708d-8344-47a4-aabe-d4604c3f71a2} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.807916 [ 802 ] {} test_opkfnkms.concurrent_optimize_table (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [97]) @ 0xc6c7cc2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:2955: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x1edaa0a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:170: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x1f6e43a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:132: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x1f6e3841 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:58: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x1f6e2b30 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f6e9362 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:40.808617 [ 802 ] {} test_opkfnkms.concurrent_optimize_table (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2024.03.19 13:03:40.816100 [ 29113 ] {6fc56422-48fd-47f7-8839-994feb81ccdc} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50534) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.823714 [ 29113 ] {6fc56422-48fd-47f7-8839-994feb81ccdc} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.827372 [ 29109 ] {03e7fc9f-9cb3-403d-9447-92e10090bf2c} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50196) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:40.843197 [ 802 ] {} test_opkfnkms.concurrent_optimize_table (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [97]) @ 0xc6c7cc2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:2955: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x1edaa0a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:170: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x1f6e43a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:132: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x1f6e3841 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:58: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x1f6e2b30 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f6e9362 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:40.843829 [ 29109 ] {03e7fc9f-9cb3-403d-9447-92e10090bf2c} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.008736 [ 12818 ] {93aeb564-bc27-4912-ac70-a6436c077dc6} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50600) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.010203 [ 12818 ] {93aeb564-bc27-4912-ac70-a6436c077dc6} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.021123 [ 12818 ] {2a3e021c-ffd7-45f3-ac59-d8514d784310} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50608) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.022391 [ 12818 ] {2a3e021c-ffd7-45f3-ac59-d8514d784310} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.143162 [ 734 ] {} test_opkfnkms.concurrent_optimize_table (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2024.03.19 13:03:41.148316 [ 734 ] {} test_opkfnkms.concurrent_optimize_table (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [97]) @ 0xc6c7cc2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:2955: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x1edaa0a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:170: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x1f6e43a3 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:132: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x1f6e3841 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:58: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x1f6e2b30 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f6e9362 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 10. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:41.193835 [ 11778 ] {64a970ab-96a0-4cbb-890c-d5c35ae8a264} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50622) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.194919 [ 11778 ] {64a970ab-96a0-4cbb-890c-d5c35ae8a264} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.354774 [ 29113 ] {4ab5a9b4-021b-4824-974c-4cb06c470617} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50576) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.359037 [ 29113 ] {4ab5a9b4-021b-4824-974c-4cb06c470617} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.374344 [ 29117 ] {93fd1b05-d85b-4937-94dd-6cebd57f9579} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50590) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.378378 [ 29117 ] {93fd1b05-d85b-4937-94dd-6cebd57f9579} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.425551 [ 29111 ] {eff37283-f973-4c86-97bb-d2c5cb4224e2} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50520) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.430738 [ 29111 ] {eff37283-f973-4c86-97bb-d2c5cb4224e2} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.463722 [ 29113 ] {2bd96675-320e-4fa5-a595-6dbed72920f1} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50660) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.464794 [ 29113 ] {2bd96675-320e-4fa5-a595-6dbed72920f1} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.490289 [ 29113 ] {c600cd32-9064-4350-94f3-7d591d634a26} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50678) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.491437 [ 29113 ] {c600cd32-9064-4350-94f3-7d591d634a26} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.626298 [ 26920 ] {9ecf31ba-5c68-437b-b89a-bce22f573c02} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50712) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.628364 [ 26920 ] {9ecf31ba-5c68-437b-b89a-bce22f573c02} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.693785 [ 12818 ] {774b3248-7f48-4831-8bfa-3f4d229b88d6} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50724) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.695126 [ 12818 ] {774b3248-7f48-4831-8bfa-3f4d229b88d6} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.743436 [ 26883 ] {0c89f3c2-c766-4863-be55-b1dd00385797} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50574) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.746235 [ 12818 ] {d1e71cbd-6105-483b-865c-52fa30fdb9e3} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50744) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.747624 [ 12818 ] {d1e71cbd-6105-483b-865c-52fa30fdb9e3} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.751885 [ 26883 ] {0c89f3c2-c766-4863-be55-b1dd00385797} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.768669 [ 29113 ] {6e65fc17-735f-4fb5-aa70-5933503cc0ac} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50760) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.770000 [ 29113 ] {6e65fc17-735f-4fb5-aa70-5933503cc0ac} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.891893 [ 29111 ] {1980197c-cb15-459b-a951-ce8055ef777a} test_opkfnkms.concurrent_optimize_table (32dd0fcd-2eda-4298-992b-c6d6714df835): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table (this might take several minutes) 2024.03.19 13:03:41.893602 [ 29111 ] {1980197c-cb15-459b-a951-ce8055ef777a} test_opkfnkms.concurrent_optimize_table (32dd0fcd-2eda-4298-992b-c6d6714df835): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table were removed by another replica 2024.03.19 13:03:41.900249 [ 29111 ] {1980197c-cb15-459b-a951-ce8055ef777a} test_opkfnkms.concurrent_optimize_table (32dd0fcd-2eda-4298-992b-c6d6714df835): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table (this might take several minutes) 2024.03.19 13:03:41.903855 [ 29111 ] {1980197c-cb15-459b-a951-ce8055ef777a} test_opkfnkms.concurrent_optimize_table (32dd0fcd-2eda-4298-992b-c6d6714df835): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table were removed by another replica 2024.03.19 13:03:41.922687 [ 29117 ] {99253455-0bd4-48be-9094-5b2e037d6bbd} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50790) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.923790 [ 29117 ] {99253455-0bd4-48be-9094-5b2e037d6bbd} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.943562 [ 11778 ] {bd3c5f6e-155b-4e6f-8c51-8c1d19fe14e6} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50652) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:41.944998 [ 11778 ] {bd3c5f6e-155b-4e6f-8c51-8c1d19fe14e6} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.040920 [ 29111 ] {4126b339-043f-493e-90fd-325a58c94f93} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50848) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.042235 [ 29111 ] {4126b339-043f-493e-90fd-325a58c94f93} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.084505 [ 12818 ] {3ab6fb7f-ca44-4515-9450-8c131a6463fc} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50886) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.085614 [ 12818 ] {3ab6fb7f-ca44-4515-9450-8c131a6463fc} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc87f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.097645 [ 26920 ] {8afd610f-162b-4e30-bc76-76d2cdd46db2} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50888) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.099003 [ 26920 ] {8afd610f-162b-4e30-bc76-76d2cdd46db2} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.116868 [ 29113 ] {999f35f0-7663-4820-b159-ff0982c49681} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50890) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:42.118369 [ 29113 ] {999f35f0-7663-4820-b159-ff0982c49681} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.359077 [ 6031 ] {13b2aa2b-d291-4ec4-acf5-8be3cdec0927} executeQuery: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51106) (comment: 01033_storage_odbc_parsing_exception_check.sql) (in query: CREATE TABLE BannerDict (`BannerID` UInt64, `CompaignID` UInt64) ENGINE = ODBC('DSN=pgconn;Database=postgres', bannerdict);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:173: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef575a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.359491 [ 733 ] {} test_opkfnkms.concurrent_optimize_table (d63a1511-eda4-4bc3-a4a1-79c3b06d16d3): void DB::StorageReplicatedMergeTree::mergeSelectingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x1ed30a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:3202: DB::StorageReplicatedMergeTree::mergeSelectingTask() @ 0x1edadff3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_5, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43982 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 8. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:43.359477 [ 778 ] {} test_opkfnkms.concurrent_optimize_table (d63a1511-eda4-4bc3-a4a1-79c3b06d16d3): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:43.360349 [ 6031 ] {13b2aa2b-d291-4ec4-acf5-8be3cdec0927} TCPHandler: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:173: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef575a2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.365801 [ 4593 ] {a9fddd25-7feb-48cf-bde6-442ffa875c53} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50998) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.365806 [ 29111 ] {06ce58b4-afe4-4f51-a43b-289fe03ae9c5} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50956) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.365879 [ 29117 ] {17190879-87cc-442d-ada8-306264b90e78} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51144) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.366516 [ 12571 ] {5614c4a0-5e48-43ed-9989-762cbe4a3293} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51066) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.371170 [ 29111 ] {06ce58b4-afe4-4f51-a43b-289fe03ae9c5} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.371414 [ 4593 ] {a9fddd25-7feb-48cf-bde6-442ffa875c53} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.372685 [ 12571 ] {5614c4a0-5e48-43ed-9989-762cbe4a3293} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.372794 [ 29117 ] {17190879-87cc-442d-ada8-306264b90e78} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71c79c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fc6a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.401337 [ 26920 ] {5f4066f9-fa8d-4a74-9bfe-ad5cd2039d17} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51134) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.404398 [ 26920 ] {5f4066f9-fa8d-4a74-9bfe-ad5cd2039d17} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.436538 [ 29117 ] {bea799cc-39d0-4ce1-ab47-45aa587878f1} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51180) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.437851 [ 29117 ] {bea799cc-39d0-4ce1-ab47-45aa587878f1} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.588169 [ 26920 ] {88a44de0-86b6-4292-bfed-13b992995069} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51200) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.589185 [ 26920 ] {88a44de0-86b6-4292-bfed-13b992995069} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.879985 [ 26920 ] {0ae0a550-9a1f-4c94-9d86-8edb18b509c0} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51222) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0xc68d242 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x1f960c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef302d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880037 [ 1029 ] {c9e943fc-eba5-4439-b617-3be2862185d7} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51232) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880130 [ 4593 ] {b985a8d3-98a8-4ff3-8ba7-f07601a5b57d} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51240) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880165 [ 12571 ] {c92b6881-dc9f-475d-a234-02b5210384c5} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51242) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880242 [ 6031 ] {d1980a70-d40a-440c-b77e-29243911d85d} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51260) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880245 [ 12093 ] {7e74bb39-e15d-401a-b34b-df162cc8892d} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51246) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880544 [ 4071 ] {45b4b925-28d1-4550-9482-5c6f1ac0cda5} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51268) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.880845 [ 26920 ] {0ae0a550-9a1f-4c94-9d86-8edb18b509c0} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0xc68d242 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x1f960c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef302d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.881460 [ 1029 ] {c9e943fc-eba5-4439-b617-3be2862185d7} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.881895 [ 12093 ] {7e74bb39-e15d-401a-b34b-df162cc8892d} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.881950 [ 1030 ] {d41b15af-3068-4bab-9067-8973a7addee9} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51292) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.882656 [ 4593 ] {b985a8d3-98a8-4ff3-8ba7-f07601a5b57d} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.882734 [ 12571 ] {c92b6881-dc9f-475d-a234-02b5210384c5} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.882757 [ 6031 ] {d1980a70-d40a-440c-b77e-29243911d85d} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.883469 [ 4071 ] {45b4b925-28d1-4550-9482-5c6f1ac0cda5} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:43.883461 [ 1030 ] {d41b15af-3068-4bab-9067-8973a7addee9} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x1ed41d63 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:485: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x1ed340a0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x1f73dcc1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa51 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.108306 [ 1030 ] {4a072850-8eb7-4271-9c64-faef12e9bbc9} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51346) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.108345 [ 26920 ] {a24c3199-2a4e-4b6e-8f58-bee45fa8ef23} executeQuery: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51222) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('','','','') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const* const&) @ 0x1ef39d15 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1144: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef30499 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.109235 [ 26920 ] {a24c3199-2a4e-4b6e-8f58-bee45fa8ef23} TCPHandler: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const* const&) @ 0x1ef39d15 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1144: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef30499 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.109592 [ 1030 ] {4a072850-8eb7-4271-9c64-faef12e9bbc9} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.120707 [ 26920 ] {08dbb59d-bc10-41e2-ba83-0787a10e89f0} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51222) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0xc68d242 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x1f960c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef302d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.121346 [ 26920 ] {08dbb59d-bc10-41e2-ba83-0787a10e89f0} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0xc68d242 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x1f960c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x1ef302d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38c0a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.510764 [ 26920 ] {c80fc608-b3e9-41eb-bdc2-a8f51a57e672} executeQuery: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51222) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'ErrorFormat') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x1f962876 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef254c8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:991: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef2cda8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bd64 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bae5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38d23 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.510851 [ 1030 ] {d2f33dce-9634-48e1-93b8-4997dda0e53f} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51370) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.510892 [ 26902 ] {db16334e-6c3d-4526-b4f8-7416c40c5fa0} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51384) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.510798 [ 4071 ] {54ac48ef-07cb-4d6c-a060-b1c03779b2d4} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51356) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.511231 [ 1026 ] {829f66f2-f355-42e8-a32a-caae192135c1} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51396) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.510955 [ 4617 ] {6efb3805-c610-40ca-a3f7-c1e1674a01cc} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51374) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.511335 [ 12818 ] {17941fe8-c799-4943-ac2b-a4008de5c986} executeQuery: Code: 341. DB::Exception: Log entry log-0000000096 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51022) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.511398 [ 24576 ] {87489c9d-f6f1-4431-9008-0a8cdeb4d55a} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51412) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.512051 [ 26920 ] {c80fc608-b3e9-41eb-bdc2-a8f51a57e672} TCPHandler: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x1f962876 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef254c8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:991: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef2cda8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bd64 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bae5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38d23 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.512695 [ 1030 ] {d2f33dce-9634-48e1-93b8-4997dda0e53f} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.512990 [ 12818 ] {17941fe8-c799-4943-ac2b-a4008de5c986} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000096 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5748: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbd77 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x1edc858c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a4ff1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.513023 [ 24576 ] {87489c9d-f6f1-4431-9008-0a8cdeb4d55a} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.513983 [ 4617 ] {6efb3805-c610-40ca-a3f7-c1e1674a01cc} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.514843 [ 1026 ] {829f66f2-f355-42e8-a32a-caae192135c1} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.514886 [ 4071 ] {54ac48ef-07cb-4d6c-a060-b1c03779b2d4} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.530917 [ 26902 ] {db16334e-6c3d-4526-b4f8-7416c40c5fa0} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.540842 [ 4071 ] {58122110-ef47-40d3-b45f-eb7a50df55d2} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33768) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.541943 [ 4071 ] {58122110-ef47-40d3-b45f-eb7a50df55d2} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x1e0a427e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.864818 [ 1030 ] {e7eededa-0409-4133-bedf-a2899bac2a1d} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33820) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.868029 [ 1030 ] {e7eededa-0409-4133-bedf-a2899bac2a1d} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.868092 [ 26902 ] {bf6470b6-2a68-4c79-a4c6-caabd557b1d3} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33850) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.868877 [ 1026 ] {c32d3d70-c5f3-4600-ab31-6e19f960741b} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33834) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.869382 [ 26902 ] {bf6470b6-2a68-4c79-a4c6-caabd557b1d3} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.870140 [ 1026 ] {c32d3d70-c5f3-4600-ab31-6e19f960741b} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.880644 [ 12010 ] {addd1385-86dd-4cb3-b0d1-06c3496d19a8} executeQuery: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33852) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.882186 [ 12010 ] {addd1385-86dd-4cb3-b0d1-06c3496d19a8} TCPHandler: Code: 60. DB::Exception: Table test_opkfnkms.concurrent_optimize_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x1e08bfe8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x1e08f52c in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.900100 [ 6031 ] {abd6f9d7-9769-421d-8ee3-0e9f77c29b13} executeQuery: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33788) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, index_granularity = 29138, min_bytes_for_wide_part = 420169328, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18087, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9209437291, index_granularity_bytes = 17887674), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:44.901996 [ 6031 ] {abd6f9d7-9769-421d-8ee3-0e9f77c29b13} TCPHandler: Code: 57. DB::Exception: Table test_opkfnkms.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de99376 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.481451 [ 26920 ] {2d0d245b-4dba-4f5b-9ef6-0ebc1e037a6f} executeQuery: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51222) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zip') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x18acef64 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef250d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:991: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef2cda8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bd64 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bae5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38d23 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.482700 [ 26920 ] {2d0d245b-4dba-4f5b-9ef6-0ebc1e037a6f} TCPHandler: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x18acef64 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef250d2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:991: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr) @ 0x1ef2cda8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bd64 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x1ef4bae5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ef38d23 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.548175 [ 699 ] {} test_opkfnkms.concurrent_optimize_table (9618c400-e283-468d-a8a8-453c952257a8): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_opkfnkms/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x1edac460 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x1ee43902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x1c956378 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x1c95958a in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1c959e86 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 11. ? @ 0x7f8b832b7609 in ? 12. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:45.559911 [ 11745 ] {81f4c725-ba50-4c8c-b873-d9e2c23afcb9} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33952). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33952) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.561245 [ 11745 ] {81f4c725-ba50-4c8c-b873-d9e2c23afcb9} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33952). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:45.561639 [ 11745 ] {81f4c725-ba50-4c8c-b873-d9e2c23afcb9} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33952). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.562160 [ 11745 ] {81f4c725-ba50-4c8c-b873-d9e2c23afcb9} TCPHandler: Client has gone away. 2024.03.19 13:03:45.564951 [ 11869 ] {67efaf33-d6cc-4a2c-97ce-e98b08cd9882} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33958) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.566416 [ 11869 ] {67efaf33-d6cc-4a2c-97ce-e98b08cd9882} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:45.566819 [ 11869 ] {67efaf33-d6cc-4a2c-97ce-e98b08cd9882} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.567368 [ 11869 ] {67efaf33-d6cc-4a2c-97ce-e98b08cd9882} TCPHandler: Client has gone away. 2024.03.19 13:03:45.567689 [ 4618 ] {7923e10e-e879-46f5-8872-c1c68524be84} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33968). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33968) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.569058 [ 4618 ] {7923e10e-e879-46f5-8872-c1c68524be84} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33968). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:45.569467 [ 4618 ] {7923e10e-e879-46f5-8872-c1c68524be84} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33968). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.570287 [ 4618 ] {7923e10e-e879-46f5-8872-c1c68524be84} TCPHandler: Client has gone away. 2024.03.19 13:03:45.582350 [ 24576 ] {79323ca6-f0a3-407d-a689-885968629433} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33938). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33938) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.583914 [ 24576 ] {79323ca6-f0a3-407d-a689-885968629433} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33938). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:45.584650 [ 24576 ] {79323ca6-f0a3-407d-a689-885968629433} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33938). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:45.585702 [ 24576 ] {79323ca6-f0a3-407d-a689-885968629433} TCPHandler: Client has gone away. 2024.03.19 13:03:47.677671 [ 4068 ] {4ae51b00-2386-4535-b852-51f0a3d2fa57} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34268) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) X ALL LEFT JOIN (SELECT 3 as A, 2 as B) USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfedc57 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1467: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc500c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.677918 [ 11745 ] {0a74d1e9-b287-41af-addf-2ca3fb22ce93} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (bb69d567-606c-4e3d-8e1b-ca01f5b387fa) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.678693 [ 4068 ] {4ae51b00-2386-4535-b852-51f0a3d2fa57} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfedc57 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1467: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc500c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.679122 [ 11745 ] {0a74d1e9-b287-41af-addf-2ca3fb22ce93} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (bb69d567-606c-4e3d-8e1b-ca01f5b387fa) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.911800 [ 4068 ] {e93061c9-ad13-48e5-bf5b-fcc501ffdfd8} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34268) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfedc57 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc4fc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.911862 [ 11745 ] {a5867770-9974-4b8f-9d20-640ab39210b1} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (bb69d567-606c-4e3d-8e1b-ca01f5b387fa) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.912737 [ 4068 ] {e93061c9-ad13-48e5-bf5b-fcc501ffdfd8} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfedc57 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x1dfc4fc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1494 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.912831 [ 11745 ] {a5867770-9974-4b8f-9d20-640ab39210b1} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (bb69d567-606c-4e3d-8e1b-ca01f5b387fa) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.950970 [ 11745 ] {9160bced-8856-4f50-bb1b-88ff8647cb83} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (f869f5a2-6cd4-42df-9db1-17e8067069cc) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.951927 [ 11745 ] {9160bced-8856-4f50-bb1b-88ff8647cb83} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (f869f5a2-6cd4-42df-9db1-17e8067069cc) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.980529 [ 11745 ] {2fc85842-6391-4bee-8cd9-73c52b4b6b99} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (f869f5a2-6cd4-42df-9db1-17e8067069cc) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:47.981383 [ 11745 ] {2fc85842-6391-4bee-8cd9-73c52b4b6b99} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (f869f5a2-6cd4-42df-9db1-17e8067069cc) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.035115 [ 11745 ] {7256ab10-8884-4de5-b879-be6412b30df6} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (3025cba4-40e1-41b6-afef-7034b1b26603) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.036002 [ 11745 ] {7256ab10-8884-4de5-b879-be6412b30df6} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (3025cba4-40e1-41b6-afef-7034b1b26603) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.055461 [ 11745 ] {2b02c7f0-56ce-41cf-841b-77032268f6a8} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (3025cba4-40e1-41b6-afef-7034b1b26603) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.056373 [ 11745 ] {2b02c7f0-56ce-41cf-841b-77032268f6a8} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (3025cba4-40e1-41b6-afef-7034b1b26603) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.142717 [ 11745 ] {179dc847-f276-4461-bc59-46d031060f18} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (c1f6ad46-714b-40d9-95a1-8ca2c79524e3) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.143359 [ 11745 ] {179dc847-f276-4461-bc59-46d031060f18} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (c1f6ad46-714b-40d9-95a1-8ca2c79524e3) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.168476 [ 11745 ] {0ab604af-97d5-4ade-8b81-791b06a2b9c2} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (c1f6ad46-714b-40d9-95a1-8ca2c79524e3) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.169111 [ 11745 ] {0ab604af-97d5-4ade-8b81-791b06a2b9c2} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (c1f6ad46-714b-40d9-95a1-8ca2c79524e3) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.245430 [ 11745 ] {9ebc872e-8b16-447b-a054-6b7ba71eabf8} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (1f2ba213-cb65-4f93-b30a-a5cd19caaa80) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.246268 [ 11745 ] {9ebc872e-8b16-447b-a054-6b7ba71eabf8} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (1f2ba213-cb65-4f93-b30a-a5cd19caaa80) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.268454 [ 11745 ] {20de2687-ee3d-48b8-8ec3-0d2486b273df} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (1f2ba213-cb65-4f93-b30a-a5cd19caaa80) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.269110 [ 11745 ] {20de2687-ee3d-48b8-8ec3-0d2486b273df} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_uh1sla11.constrained (1f2ba213-cb65-4f93-b30a-a5cd19caaa80) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/test'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.353505 [ 11745 ] {dee1a0f3-02c6-49d4-b4cc-d357fbeaa0ff} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (3fdcc4ef-24dd-4687-93dd-069f76ea6a26) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.354119 [ 11745 ] {dee1a0f3-02c6-49d4-b4cc-d357fbeaa0ff} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained (3fdcc4ef-24dd-4687-93dd-069f76ea6a26) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.362490 [ 11745 ] {6a7e0f72-8179-4833-9ee6-583b48b14270} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained2 (12942812-7a78-402c-a7da-57440e929aa3) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34272) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.363155 [ 11745 ] {6a7e0f72-8179-4833-9ee6-583b48b14270} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_uh1sla11.constrained2 (12942812-7a78-402c-a7da-57440e929aa3) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x1fc6b638 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x1fc6ab3e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x1f9c360c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x1f9392e3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:48.886942 [ 11869 ] {f5c8bad7-9dae-42da-9356-a1ee98d99c0d} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34388) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. DB::impl::TokenSearcher>::TokenSearcher(char const*, unsigned long) @ 0xff65d47 in /usr/bin/clickhouse 4. DB::VolnitskyBase>>::VolnitskyBase(char const*, unsigned long, unsigned long) @ 0xff65b42 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch>>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff623aa in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f584b0c in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5812b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.137663 [ 4618 ] {4f2df0cf-bd67-46df-8ba1-74e5533ac388} executeQuery: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34444) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:375: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x1ec054fe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x1ec2b17a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec25308 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.137704 [ 11869 ] {f5c8bad7-9dae-42da-9356-a1ee98d99c0d} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. DB::impl::TokenSearcher>::TokenSearcher(char const*, unsigned long) @ 0xff65d47 in /usr/bin/clickhouse 4. DB::VolnitskyBase>>::VolnitskyBase(char const*, unsigned long, unsigned long) @ 0xff65b42 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch>>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff623aa in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f584b0c in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5812b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.140010 [ 4618 ] {4f2df0cf-bd67-46df-8ba1-74e5533ac388} TCPHandler: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:375: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x1ec054fe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x1ec2b17a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec25308 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.145113 [ 4618 ] {1a2dc507-cb3e-488f-b8d6-1550e9f316d0} StorageDistributed (distr0): Name of remote database is empty. Default database will be used implicitly. 2024.03.19 13:03:49.145976 [ 4618 ] {1a2dc507-cb3e-488f-b8d6-1550e9f316d0} executeQuery: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34444) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr0 (x UInt8) ENGINE = Distributed(test_shard_localhost, '', distr0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:375: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x1ec054fe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x1ec2b17a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec25308 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.146681 [ 4618 ] {1a2dc507-cb3e-488f-b8d6-1550e9f316d0} TCPHandler: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:375: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x1ec054fe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x1ec2b17a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec25308 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.430344 [ 11869 ] {04e93074-283d-4688-9fc6-aae9ecbc6695} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34388) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasTokenCaseInsensitive(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. DB::impl::TokenSearcher>::TokenSearcher(char const*, unsigned long) @ 0xff6b147 in /usr/bin/clickhouse 4. DB::VolnitskyBase>>::VolnitskyBase(char const*, unsigned long, unsigned long) @ 0xff6a9e2 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch>>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff6730c in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f584b0c in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5812b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.430585 [ 4618 ] {48466376-9d04-4cac-89f3-c565e7ed3bda} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34444) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 13:03:49.431768 [ 4618 ] {48466376-9d04-4cac-89f3-c565e7ed3bda} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 13:03:49.432166 [ 11869 ] {04e93074-283d-4688-9fc6-aae9ecbc6695} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. DB::impl::TokenSearcher>::TokenSearcher(char const*, unsigned long) @ 0xff6b147 in /usr/bin/clickhouse 4. DB::VolnitskyBase>>::VolnitskyBase(char const*, unsigned long, unsigned long) @ 0xff6a9e2 in /usr/bin/clickhouse 5. DB::FunctionsStringSearch>>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff6730c in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x1f584b0c in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f582ab3 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x1f5812b1 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x1f57125f in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x1f5720eb in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x1f56e69c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x1ff1ab59 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:49.456760 [ 4618 ] {0078ae93-7ae1-4e63-9391-f3c7fa648236} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34444) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 13:03:49.457803 [ 4618 ] {0078ae93-7ae1-4e63-9391-f3c7fa648236} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:168: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec3330f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x1fea0e2d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_0::operator()() const @ 0x1ec2df14 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x1ec2ca42 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x1ec31de9 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec0d6ce in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 2024.03.19 13:03:50.236283 [ 11869 ] {f4160896-ae84-454a-b778-42a5959a91f0} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34388) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- invert result -- this does not work as expected, reading more rows that it should -- SELECT max(id) FROM bloom_filter WHERE NOT hasToken(s, 'yyy'); -- accessing to many rows SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'yyy');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:50.239120 [ 11869 ] {f4160896-ae84-454a-b778-42a5959a91f0} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:50.258884 [ 11869 ] {80b11ec5-da02-4b32-904a-0e90648423ab} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34388) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- this syntax is not supported by tokenbf SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'zzz') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:50.259787 [ 11869 ] {80b11ec5-da02-4b32-904a-0e90648423ab} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x1ccc2714 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc22c4 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:0: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x1ff020c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x1feb8ab6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x1fedc1bc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e183566 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:50.742760 [ 4593 ] {031e9be4-e97a-4ac4-80e9-88c2289fb07a} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53648) (comment: 00984_parser_stack_overflow.sh) (in query: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 2024.03.19 13:03:50.744470 [ 4593 ] {031e9be4-e97a-4ac4-80e9-88c2289fb07a} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:115: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20260034 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202fffcd in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:0: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ea8b9 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:51.090763 [ 26883 ] {6683a709-84f8-4137-a52a-0152821c7983} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(x, 1500000) :: 4) -> throwIf(greater(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34746) (comment: 00995_exception_while_insert.sh) (in query: INSERT INTO check(x) FORMAT TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x1fc8be4e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x1f9c333e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PushingPipelineExecutor::push(DB::Block) @ 0x1f9c340c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processInsertQuery() @ 0x1f9390ea in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:51.517982 [ 26883 ] {6683a709-84f8-4137-a52a-0152821c7983} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(x, 1500000) :: 4) -> throwIf(greater(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x1fc8be4e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x1f9c333e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PushingPipelineExecutor::push(DB::Block) @ 0x1f9c340c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processInsertQuery() @ 0x1f9390ea in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc1b in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:51.520482 [ 4593 ] {3e2a3e44-3974-4455-a3b8-e731d239fd63} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53694) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20268fbb in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2026cccd in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1183: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2027b4bf in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:0: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x1fc43275 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2469: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x2028a3b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20288852 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028834a in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1945: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20275d8d in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x14942b67 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20284e5e in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:324: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20284ff5 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:0: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x203014cf in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ffffb in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 2024.03.19 13:03:51.687020 [ 4593 ] {3e2a3e44-3974-4455-a3b8-e731d239fd63} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x15ce020d in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a89eb in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20268fbb in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2026cccd in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1183: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2027b4bf in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:0: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x1fc43275 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2469: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x2028a3b7 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20288852 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028834a in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1945: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20275d8d in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:0: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x14942b67 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:47: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x2028223c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20284e5e in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:324: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x20284ff5 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:0: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x203014cf in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202ffffb in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202829b8 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x202a8864 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:51.687165 [ 26883 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, char const (&) [44]) @ 0x1f94ab42 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:1767: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x1f943f13 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x1f93837f in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92efed in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:53.016238 [ 1030 ] {055a03fb-9beb-4496-85f4-69ae99d5cbd7} executeQuery: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35442) (comment: 00977_int_div.sql) (in query: SELECT -1 DIV 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x103a2ebf in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1052a5e1 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1052828c in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8caf in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:03:53.130911 [ 1030 ] {055a03fb-9beb-4496-85f4-69ae99d5cbd7} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x103a2ebf in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1052a5e1 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1052828c in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8caf in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:03:54.030651 [ 12839 ] {e62e28e3-2816-4647-ba20-4dbadc83ccc2} executeQuery: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35766) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', toUInt64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:54.032298 [ 12839 ] {e62e28e3-2816-4647-ba20-4dbadc83ccc2} TCPHandler: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c4cf in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:54.307345 [ 12839 ] {34387b60-da31-4ba3-8d51-3e7b7793149a} executeQuery: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35766) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', NULL);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c3ea in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:54.308508 [ 12839 ] {34387b60-da31-4ba3-8d51-3e7b7793149a} TCPHandler: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57c3ea in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionValues.cpp:0: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1f1048 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:55.216102 [ 4593 ] {a0e20c76-130c-4e3d-be5d-a68940fd1a50} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53778) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:55.217354 [ 4593 ] {a0e20c76-130c-4e3d-be5d-a68940fd1a50} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:55.787548 [ 26883 ] {f02fe9f3-442a-4fd2-9d4c-1efe45b3237f} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f886361c000, frame address: 0x7f8863db5990, stack size: 419440, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35188) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7ec2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 2024.03.19 13:03:55.857384 [ 26883 ] {f02fe9f3-442a-4fd2-9d4c-1efe45b3237f} DynamicQueryHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f886361c000, frame address: 0x7f8863db5990, stack size: 419440, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x1473ca83 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x1473c967 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7ec2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x1e5b7f58 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:56.545976 [ 12010 ] {e60e815c-6e91-4e2b-b164-94aa43013f9d} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35284) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]' FRRRROM numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:56.546755 [ 12010 ] {e60e815c-6e91-4e2b-b164-94aa43013f9d} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x203151c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:0: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2031528e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59ed37 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:57.104638 [ 1026 ] {b313ef90-9398-4d86-8193-d4b0d5912d1f} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:57.355892 [ 26889 ] {6c3370d4-7160-472b-85ff-c26f275a269a} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41014) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:57.356005 [ 1026 ] {b313ef90-9398-4d86-8193-d4b0d5912d1f} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:57.357980 [ 26889 ] {6c3370d4-7160-472b-85ff-c26f275a269a} TCPHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:57.720238 [ 1026 ] {410b60cc-c3f2-4988-8c11-003f38bd82cb} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{{}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:57.964471 [ 4618 ] {95801925-ffd3-4a4a-828b-1ab14b59b305} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35366) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:57.964511 [ 1026 ] {410b60cc-c3f2-4988-8c11-003f38bd82cb} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:57.966452 [ 4618 ] {95801925-ffd3-4a4a-828b-1ab14b59b305} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:03:58.307745 [ 1026 ] {4ad487cb-641f-4eae-9631-618d387edb54} executeQuery: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{ {}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64349e in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:58.671785 [ 11745 ] {dc0711ae-96e2-42ee-a12f-a11c39d542a7} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41352) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]', intDiv( 100, number - 10) FROM numbers(11) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10329f1a in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x104e09d3 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x104da28a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8918 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:58.671915 [ 1026 ] {4ad487cb-641f-4eae-9631-618d387edb54} TCPHandler: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64349e in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:58.675348 [ 11745 ] {dc0711ae-96e2-42ee-a12f-a11c39d542a7} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10329f1a in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x104e09d3 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x104da28a in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8918 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:03:58.686663 [ 1026 ] {825b3a94-38e5-4891-a344-36374295af00} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:58.688402 [ 1026 ] {825b3a94-38e5-4891-a344-36374295af00} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:58.714754 [ 1026 ] {dc6d6b20-4520-4f1b-ba15-fdea46714e57} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{}}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:58.715711 [ 1026 ] {dc6d6b20-4520-4f1b-ba15-fdea46714e57} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.071236 [ 1026 ] {136be619-186b-44d8-8ebd-8b0353be507b} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{2 }', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.072209 [ 1026 ] {136be619-186b-44d8-8ebd-8b0353be507b} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.084043 [ 1026 ] {cfee13c3-c20e-44b6-8211-e842c91d281b} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.084934 [ 1026 ] {cfee13c3-c20e-44b6-8211-e842c91d281b} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64341a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.418614 [ 1026 ] {126c3ae4-c947-47b8-b677-553cfe9b2b65} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643396 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.419784 [ 1026 ] {126c3ae4-c947-47b8-b677-553cfe9b2b65} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643396 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.429523 [ 1026 ] {0874e66f-cebd-4d01-84df-cbdf985b5010} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{\0sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643396 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.430457 [ 1026 ] {0874e66f-cebd-4d01-84df-cbdf985b5010} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0xccd8f0d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643396 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.439160 [ 1026 ] {f0b4163c-3b2d-4e33-8c3b-a334dec628b1} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{1023}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.440161 [ 1026 ] {f0b4163c-3b2d-4e33-8c3b-a334dec628b1} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.449176 [ 1026 ] {f2261090-8ee7-45aa-842c-fa2a833c71a5} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{10000000000000000000000000000000000000000000000000}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.450050 [ 1026 ] {f2261090-8ee7-45aa-842c-fa2a833c71a5} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.791054 [ 1026 ] {150f05a6-b5c9-4e38-895c-f2fc28be32bb} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{} {0}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0xd0ba0c2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64356f in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:03:59.792151 [ 1026 ] {150f05a6-b5c9-4e38-895c-f2fc28be32bb} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0xd0ba0c2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64356f in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.129582 [ 1026 ] {188fceb8-a8df-4624-a17a-c7398d2814d1} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('{0} {}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0xd0ba0c2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6434d0 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.130688 [ 1026 ] {188fceb8-a8df-4624-a17a-c7398d2814d1} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0xd0ba0c2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6434d0 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.471794 [ 1026 ] {687201b0-4421-469d-b2a0-d4cbf8b339db} executeQuery: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('Hello {} World {} {}{}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643502 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.472979 [ 1026 ] {687201b0-4421-469d-b2a0-d4cbf8b339db} TCPHandler: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0xc6ace62 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe643502 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.489187 [ 1026 ] {2daad37e-0797-46c9-979f-9501180fe5a2} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.490316 [ 1026 ] {2daad37e-0797-46c9-979f-9501180fe5a2} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe64331a in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:00.825425 [ 1026 ] {8ce7a221-9da3-4b55-9c3b-23ee7948eb2d} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery414, '')). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40900) (comment: 00949_format.sql) (in query: select 50 = length(format((select arrayStringConcat(arrayMap(x ->'{', range(101)))), ''));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3cfc in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f395e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:04:00.826669 [ 1026 ] {8ce7a221-9da3-4b55-9c3b-23ee7948eb2d} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery414, '')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0xdf834e2 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0xe6435a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0xe648896 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0xe646c65 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf0d09bd in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3cfc in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f395e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 2024.03.19 13:04:02.695821 [ 29113 ] {8c29742f-c61e-4c94-80b9-0c4a15d8cce8} executeQuery: Code: 44. DB::Exception: Argument at index 2 for function geohashEncode must be constant. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41806) (comment: 00932_geohash_support.sql) (in query: select geohashEncode(materialize(-5.60302734375), materialize(42.593994140625), materialize(0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0xc9b1710 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f2d54 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:02.696937 [ 29113 ] {8c29742f-c61e-4c94-80b9-0c4a15d8cce8} TCPHandler: Code: 44. DB::Exception: Argument at index 2 for function geohashEncode must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0xc9b1710 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f2d54 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.398454 [ 6032 ] {d9fec7eb-8636-438b-b9a7-55a52bd2dc4c} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime ttl d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:697: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x1f34ef9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34c066 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.399467 [ 6032 ] {d9fec7eb-8636-438b-b9a7-55a52bd2dc4c} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:697: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x1f34ef9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34c066 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.411917 [ 6032 ] {2a2a5801-d1ea-4aeb-b8dd-c2cc012800c9} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d) engine = MergeTree order by a partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:697: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x1f34ef9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34c066 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.412668 [ 6032 ] {2a2a5801-d1ea-4aeb-b8dd-c2cc012800c9} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:697: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x1f34ef9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34c066 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.692380 [ 6032 ] {79406586-0856-4c00-9ef0-3bd145c1f30c} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c917 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f739ed9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.693593 [ 6032 ] {79406586-0856-4c00-9ef0-3bd145c1f30c} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c917 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f739ed9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.708653 [ 6032 ] {fcd6bea0-cd7d-45a2-904f-1c60be0a177c} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c917 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f739ed9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.709624 [ 6032 ] {fcd6bea0-cd7d-45a2-904f-1c60be0a177c} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c917 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f739ed9 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:03.955276 [ 6032 ] {b6f1e6d4-e9f1-4686-a954-010c570875f4} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d + interval 1 day) engine = Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec44215 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:04.337733 [ 29117 ] {2131a037-1f5d-461e-85e4-9be66c74a172} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41944) (comment: 00926_geo_to_h3.sql) (in query: select geoToH3(37.63098076, 55.77922738, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0xf1c750a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf1c65fc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:04.712966 [ 29111 ] {ab0fbea5-5cc0-4bf3-8636-876e6aa18c7c} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64('abc'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x1ce28360 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce2761a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:04.713105 [ 6032 ] {b6f1e6d4-e9f1-4686-a954-010c570875f4} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec44215 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:04.713244 [ 29117 ] {2131a037-1f5d-461e-85e4-9be66c74a172} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0xf1c750a in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf1c65fc in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:04.714483 [ 29111 ] {ab0fbea5-5cc0-4bf3-8636-876e6aa18c7c} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x1ce28360 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce2761a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:04.720436 [ 6032 ] {76dbf6a6-c099-4743-939f-181e349506d7} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41566) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int) engine = Log ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec44215 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:05.046110 [ 6032 ] {76dbf6a6-c099-4743-939f-181e349506d7} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x147cae2e in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x1ec44f0c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec44215 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:05.046164 [ 29111 ] {81f53958-3955-44dc-ac41-8ca7d6318b71} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds: While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(100));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x1cccd6fb in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc6f in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x1ce27bcf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce277bf in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:05.047356 [ 29111 ] {81f53958-3955-44dc-ac41-8ca7d6318b71} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds: While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x1cccd6fb in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc6f in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x1ce27bcf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce277bf in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:05.054324 [ 29111 ] {3fd426b7-84a2-4cf5-b399-ac6894042582} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x1ce28360 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce2761a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:05.055409 [ 29111 ] {3fd426b7-84a2-4cf5-b399-ac6894042582} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x1ce28360 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce2761a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:05.370819 [ 29111 ] {9d36eb7e-d860-4b45-94f3-3fb1d7630b6d} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone qqq (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(3, 'qqq'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x1ce27bcf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce277bf in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:05.371980 [ 29111 ] {9d36eb7e-d860-4b45-94f3-3fb1d7630b6d} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone qqq. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x1ce27bcf in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: DB::create64(std::shared_ptr const&) @ 0x1ce277bf in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x1ccdc504 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(String const&) const @ 0x1ccda261 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0xcb00c74 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c09 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:05.724637 [ 29111 ] {3c467041-99a7-43f9-a401-e332d2b5e5c0} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 'abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce236af in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:06.050871 [ 29117 ] {e3f2eae1-4994-4ad5-a510-e3d45ecd5b78} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53338) (comment: 00918_has_unsufficient_type_check.sql) (in query: SELECT hasAny([['Hello, world']], [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce18148 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce18148 in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142430cd in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:06.050946 [ 29111 ] {3c467041-99a7-43f9-a401-e332d2b5e5c0} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce236af in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:06.051997 [ 29117 ] {e3f2eae1-4994-4ad5-a510-e3d45ecd5b78} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e24 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce18148 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce18148 in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x142430cd in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:06.408342 [ 29111 ] {68b48f5c-2c0b-4ea5-b742-a88d9b2a469e} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds: While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x1cccd6fb in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc6f in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0xc6e5ecf in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce2371d in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:06.409380 [ 29111 ] {68b48f5c-2c0b-4ea5-b742-a88d9b2a469e} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds: While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x1cccd6fb in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc6f in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0xc6e5ecf in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce2371d in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:06.417249 [ 29111 ] {c24e56b7-f6bb-486b-9c13-5bda9c017505} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce236af in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:06.418222 [ 29111 ] {c24e56b7-f6bb-486b-9c13-5bda9c017505} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x1c60755a in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x1c6053d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x1c603e29 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce236af in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 2024.03.19 13:04:06.760434 [ 29111 ] {e6dbcb24-932c-42c7-b2b4-2e1ad7b7e6af} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone qqq (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0xc6e5ecf in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce2371d in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:06.761626 [ 29111 ] {e6dbcb24-932c-42c7-b2b4-2e1ad7b7e6af} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone qqq. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0xc6e5ecf in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0xce2371d in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0xce23229 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0xce22992 in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0xce187c0 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:04:07.102518 [ 29111 ] {798ccbbd-4742-4657-ade4-599dc243ba8a} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(gccMurmurHash()));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.103650 [ 29111 ] {798ccbbd-4742-4657-ade4-599dc243ba8a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.110262 [ 29111 ] {66fe0221-0fbf-4a69-80e0-6c8f096660ab} executeQuery: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64('abcd'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.111098 [ 29111 ] {66fe0221-0fbf-4a69-80e0-6c8f096660ab} TCPHandler: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.118776 [ 29111 ] {f3a1ec0f-b148-4773-a545-0aba4c78453a} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(number)) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.119923 [ 29111 ] {f3a1ec0f-b148-4773-a545-0aba4c78453a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x12664703 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:07.444951 [ 29111 ] {1165070c-7a46-4f5f-a451-37a30261a039} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone invalid timezone (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 'invalid timezone'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x126652af in /usr/bin/clickhouse 6. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1266453e in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:07.446182 [ 29111 ] {1165070c-7a46-4f5f-a451-37a30261a039} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone invalid timezone. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String&&, int) @ 0x238a587e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x146c708a in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x146c4506 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x1cccc75e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x1ccccc7c in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x126652af in /usr/bin/clickhouse 6. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1266453e in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:07.782335 [ 29111 ] {3f46cb5a-df41-437b-9774-e04b06b0df2c} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt16) of time zone argument of function, must be constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41960) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 1111));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:0: DB::extractTimeZoneNameFromColumn(DB::IColumn const&) @ 0x1c6077c0 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:38: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long) @ 0x1c6078e2 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1266451b in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:07.783468 [ 29111 ] {3f46cb5a-df41-437b-9774-e04b06b0df2c} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt16) of time zone argument of function, must be constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:0: DB::extractTimeZoneNameFromColumn(DB::IColumn const&) @ 0x1c6077c0 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:38: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long) @ 0x1c6078e2 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1266451b in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:09.105842 [ 11778 ] {a2c2bfa8-1adf-4943-be3b-c22ce78f3797} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41478) (comment: 00956_sensitive_data_masking.sh) (in query: select sleepEachRow(1) from numbers(10) where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:09.107498 [ 11778 ] {a2c2bfa8-1adf-4943-be3b-c22ce78f3797} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:11.869120 [ 26902 ] {718ca8f7-d315-4778-88c7-32c5f03557bb} executeQuery: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53948) (comment: 00879_cast_to_decimal_crash.sql) (in query: select cast(toIntervalDay(1) as Nullable(Decimal(10, 10)));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0xcbedc64 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0xcb09b89 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07793 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:11.870769 [ 26902 ] {718ca8f7-d315-4778-88c7-32c5f03557bb} TCPHandler: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0xcbedc64 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0xcb09b89 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb07793 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xcb026ea in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xcb02386 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0xcb01bbd in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:18.458557 [ 1029 ] {72fe4b9a-ab35-4037-9f99-1a32c63c6f20} executeQuery: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33336) (comment: 00800_low_cardinality_join.sql) (in query: select * from (select dummy as val from system.one) any left join (select dummy as val from system.one) on val + 0 = val * 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:0: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e15a4ad in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x1e14c2ce in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x1e14454b in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1139: DB::Planner::buildPlanForQueryNode() @ 0x1e128cda in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:997: DB::Planner::buildQueryPlanIfNeeded() @ 0x1e126764 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:246: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e1254ea in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:18.830865 [ 1029 ] {72fe4b9a-ab35-4037-9f99-1a32c63c6f20} TCPHandler: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:0: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e15a4ad in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x1e14c2ce in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x1e14454b in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1139: DB::Planner::buildPlanForQueryNode() @ 0x1e128cda in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:997: DB::Planner::buildQueryPlanIfNeeded() @ 0x1e126764 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:246: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x1e1254ea in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:436: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x1e125250 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:18.830865 [ 4617 ] {4b99d2f7-6dc1-42dd-aafc-ae356bf110ce} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33356) (comment: 00762_date_comparsion.sql) (in query: select today() < 2018-11-14;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10b69463 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:18.832123 [ 4617 ] {4b99d2f7-6dc1-42dd-aafc-ae356bf110ce} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10b69463 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:18.899010 [ 4617 ] {27fd3141-ed02-48f5-8349-ac4201bbbe83} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33356) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') < 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10b69463 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:18.900121 [ 4617 ] {27fd3141-ed02-48f5-8349-ac4201bbbe83} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10b69463 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:19.265491 [ 4617 ] {a4b9375d-9c91-42eb-bb55-0b04ac0040a8} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33356) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:19.653657 [ 12571 ] {e909edb4-73ac-430f-8a9d-fd5cbe8dc24f} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33424) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt8(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd24392c in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242c88 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:19.881618 [ 12093 ] {2ef4687c-7832-4441-8a6e-ed25415328d1} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33436) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x1ed0f342 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f38296f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:19.881927 [ 4617 ] {a4b9375d-9c91-42eb-bb55-0b04ac0040a8} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:19.882186 [ 12571 ] {e909edb4-73ac-430f-8a9d-fd5cbe8dc24f} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd24392c in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242c88 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:19.882610 [ 12093 ] {2ef4687c-7832-4441-8a6e-ed25415328d1} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x1ed0f342 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f38296f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:20.257926 [ 4617 ] {740b1c68-e4a3-40c2-a27a-3e2b11788026} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33356) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') != 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x121e5083 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:20.477637 [ 12093 ] {488b58d3-6930-45b2-a13a-15fcfc8f998e} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33436) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f350fbe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:20.863675 [ 24576 ] {3a7f70b4-cda2-4066-b368-36d50c6c9c88} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33552) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt16(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd243e8a in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242e04 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:20.863808 [ 12093 ] {488b58d3-6930-45b2-a13a-15fcfc8f998e} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f350fbe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:20.863848 [ 4617 ] {740b1c68-e4a3-40c2-a27a-3e2b11788026} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x121e5083 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:20.865864 [ 24576 ] {3a7f70b4-cda2-4066-b368-36d50c6c9c88} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd243e8a in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242e04 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:21.095649 [ 12093 ] {6339d5b1-a1da-45d3-9d07-dcecadede035} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33436) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f351082 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.096803 [ 12093 ] {6339d5b1-a1da-45d3-9d07-dcecadede035} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f351082 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.382382 [ 12093 ] {b7d30fc9-260c-4e37-969b-986ccda5561c} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33436) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:472: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66d92 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.784317 [ 2732 ] {81963061-b347-4647-b3cc-764306a6e96d} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x1ed0f342 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f38296f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.784389 [ 12093 ] {b7d30fc9-260c-4e37-969b-986ccda5561c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:472: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66d92 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.784379 [ 24576 ] {cceee25c-ce03-4525-baa5-4a3923feb807} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33642) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt32(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd2443ea in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242d9d in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:21.785543 [ 2732 ] {81963061-b347-4647-b3cc-764306a6e96d} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x1ed0f342 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f38296f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:21.786273 [ 24576 ] {cceee25c-ce03-4525-baa5-4a3923feb807} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd2443ea in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242d9d in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:22.019819 [ 12093 ] {dfdde003-8987-413d-aa59-629ee0e84db3} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33436) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.021023 [ 12093 ] {dfdde003-8987-413d-aa59-629ee0e84db3} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.056787 [ 2732 ] {bb1b34eb-d69d-4644-a202-1792ed0dc574} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f350fbe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.058003 [ 2732 ] {bb1b34eb-d69d-4644-a202-1792ed0dc574} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f350fbe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.073212 [ 2732 ] {551f8112-4fe6-4581-b665-8b9622554531} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f351082 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.074087 [ 2732 ] {551f8112-4fe6-4581-b665-8b9622554531} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f351082 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.085197 [ 2732 ] {3c86f1c5-9187-4927-b860-a07458f14ae0} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:472: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66d92 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.086357 [ 2732 ] {3c86f1c5-9187-4927-b860-a07458f14ae0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x1e4c532b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce827 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:472: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb66d92 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c352 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.096384 [ 2732 ] {29b20097-de99-4c52-ac0a-a965e6fea89e} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing_r1 MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.097174 [ 2732 ] {29b20097-de99-4c52-ac0a-a965e6fea89e} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f380a45 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:22.603139 [ 12839 ] {d306e6d4-fef4-46e3-b22e-8e7f74127fcb} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33714) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt64(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd24494a in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242e84 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:22.606168 [ 12839 ] {d306e6d4-fef4-46e3-b22e-8e7f74127fcb} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd24494a in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0xd242e84 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0xd24275f in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd2423ab in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf3d425 in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xd241dbe in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 2024.03.19 13:04:23.899344 [ 2773 ] {06d93f0d-7c33-460d-8dec-7290fc1b2d07} HedgedConnectionsFactory: Connection failed at try №1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:23.901252 [ 2773 ] {06d93f0d-7c33-460d-8dec-7290fc1b2d07} HedgedConnectionsFactory: Connection failed at try №2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:23.902484 [ 2773 ] {06d93f0d-7c33-460d-8dec-7290fc1b2d07} HedgedConnectionsFactory: Connection failed at try №3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:23.971143 [ 26889 ] {872747a6-18da-4ea1-9335-81eaeb57ae15} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:24.106495 [ 12839 ] {06d93f0d-7c33-460d-8dec-7290fc1b2d07} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33902) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f830e04 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.106760 [ 26889 ] {872747a6-18da-4ea1-9335-81eaeb57ae15} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:24.109781 [ 12010 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33904). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:24.109873 [ 12839 ] {06d93f0d-7c33-460d-8dec-7290fc1b2d07} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f830e04 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.452516 [ 2780 ] {4eb0a7ca-6b9e-42f7-b053-d81e94abfdab} HedgedConnectionsFactory: Connection failed at try №1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:24.453732 [ 2780 ] {4eb0a7ca-6b9e-42f7-b053-d81e94abfdab} HedgedConnectionsFactory: Connection failed at try №2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:24.455082 [ 2780 ] {4eb0a7ca-6b9e-42f7-b053-d81e94abfdab} HedgedConnectionsFactory: Connection failed at try №3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:24.482272 [ 12839 ] {4eb0a7ca-6b9e-42f7-b053-d81e94abfdab} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33950) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed WHERE a = 0 AND b = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f830e04 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.482330 [ 26889 ] {d2b16a07-b272-4ba4-ad95-6faf0db9cd84} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:24.483311 [ 26889 ] {d2b16a07-b272-4ba4-ad95-6faf0db9cd84} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:24.485792 [ 12839 ] {4eb0a7ca-6b9e-42f7-b053-d81e94abfdab} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x1ef6d899 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f830e04 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.641656 [ 12010 ] {f7fd8d1a-5b26-4625-9c41-e3f0e6ff734b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33958) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count() FROM `test_nvdwf4jc`.`mergetree_00754` WHERE (`a` = 0) AND (`b` = 0)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.948031 [ 12010 ] {f7fd8d1a-5b26-4625-9c41-e3f0e6ff734b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:04:24.948218 [ 26889 ] {75544bee-3b74-4082-99e2-fd675f0dc23a} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:24.948443 [ 12010 ] {f7fd8d1a-5b26-4625-9c41-e3f0e6ff734b} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:33958). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded52f8 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:24.949172 [ 12010 ] {f7fd8d1a-5b26-4625-9c41-e3f0e6ff734b} TCPHandler: Client has gone away. 2024.03.19 13:04:24.949348 [ 26889 ] {75544bee-3b74-4082-99e2-fd675f0dc23a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.216507 [ 26889 ] {5839c558-33dd-4472-9566-f7394e2890b6} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:25.217542 [ 26889 ] {5839c558-33dd-4472-9566-f7394e2890b6} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:25.291556 [ 26889 ] {9377d4a1-57b9-4b74-845f-adeb5805caec} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.293010 [ 26889 ] {9377d4a1-57b9-4b74-845f-adeb5805caec} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.313354 [ 26889 ] {34d06eaf-d1f1-4642-9345-1917e7d831db} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.314597 [ 26889 ] {34d06eaf-d1f1-4642-9345-1917e7d831db} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.580822 [ 26889 ] {286c9301-4738-410d-9cea-108883128f44} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:25.581784 [ 26889 ] {286c9301-4738-410d-9cea-108883128f44} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:25.641586 [ 26889 ] {98e39393-d542-4a2a-b09e-05ce2f6100c1} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.642815 [ 26889 ] {98e39393-d542-4a2a-b09e-05ce2f6100c1} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.662309 [ 26889 ] {82384008-9ea4-43ac-8286-e4a59877715f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.663309 [ 26889 ] {82384008-9ea4-43ac-8286-e4a59877715f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:25.898887 [ 26889 ] {a3a8e94c-d320-43f0-926f-812b180719ec} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:25.899842 [ 26889 ] {a3a8e94c-d320-43f0-926f-812b180719ec} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:26.246333 [ 26889 ] {9a1d54ab-5887-47c3-addf-b23f656bc0d9} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:26.247983 [ 26889 ] {9a1d54ab-5887-47c3-addf-b23f656bc0d9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:26.267159 [ 26889 ] {d0a1a5fd-4a02-4308-934e-f657c7356bd9} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:26.268111 [ 26889 ] {d0a1a5fd-4a02-4308-934e-f657c7356bd9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:26.288791 [ 26889 ] {82da2988-2754-4cc0-b858-b236c6a7789a} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.290008 [ 26889 ] {82da2988-2754-4cc0-b858-b236c6a7789a} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.311654 [ 26889 ] {93a99f3c-69e4-459d-8231-ed6428503351} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.312694 [ 26889 ] {93a99f3c-69e4-459d-8231-ed6428503351} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.627114 [ 26889 ] {3bb0b9a5-7caa-41b7-9de2-13f57c56d5a2} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.628472 [ 26889 ] {3bb0b9a5-7caa-41b7-9de2-13f57c56d5a2} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.645820 [ 26889 ] {ae6174fd-1ff2-402a-8df3-ceba2a25faac} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.646719 [ 26889 ] {ae6174fd-1ff2-402a-8df3-ceba2a25faac} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.931280 [ 26889 ] {2b3443a5-153a-458b-8a8a-7f5498aced47} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.932272 [ 26889 ] {2b3443a5-153a-458b-8a8a-7f5498aced47} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.952054 [ 26889 ] {bac1786e-ad46-4a2a-92f3-22f8cb491fd8} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:26.953248 [ 26889 ] {bac1786e-ad46-4a2a-92f3-22f8cb491fd8} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.271178 [ 26889 ] {d3f595b2-cfca-4b02-b026-b37f066c3c66} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.272383 [ 26889 ] {d3f595b2-cfca-4b02-b026-b37f066c3c66} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.290510 [ 26889 ] {432aa854-eda1-440d-845a-f701c224a093} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.291580 [ 26889 ] {432aa854-eda1-440d-845a-f701c224a093} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.373184 [ 26889 ] {4da5e78e-303c-4e22-aea8-4e4e7aac0dfb} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.374110 [ 26889 ] {4da5e78e-303c-4e22-aea8-4e4e7aac0dfb} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.391394 [ 26889 ] {f3304d66-9a8a-41cc-b7c3-9706b4b95a2f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.392365 [ 26889 ] {f3304d66-9a8a-41cc-b7c3-9706b4b95a2f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.408322 [ 26889 ] {8c977a18-1ecd-4466-81c5-daf88b35e566} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.409296 [ 26889 ] {8c977a18-1ecd-4466-81c5-daf88b35e566} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.433412 [ 26889 ] {05905c02-b7aa-4032-90fb-52b05d7dba7b} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.435530 [ 26889 ] {05905c02-b7aa-4032-90fb-52b05d7dba7b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.554231 [ 26889 ] {6f512b86-dda9-4ec5-b744-e03c345fdf57} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.555461 [ 26889 ] {6f512b86-dda9-4ec5-b744-e03c345fdf57} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.573720 [ 26889 ] {90299006-cac3-4b01-a550-2c85cca53cf5} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.574936 [ 26889 ] {90299006-cac3-4b01-a550-2c85cca53cf5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:27.593201 [ 26889 ] {ef794165-09a4-4e66-9188-acca79b3891b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.594402 [ 26889 ] {ef794165-09a4-4e66-9188-acca79b3891b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.614018 [ 26889 ] {437d9d0e-e968-4c65-ac74-30963c2f3342} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.615357 [ 26889 ] {437d9d0e-e968-4c65-ac74-30963c2f3342} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.725350 [ 26889 ] {b079bd33-1a76-48ce-bb14-8f642ece7993} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.726999 [ 26889 ] {b079bd33-1a76-48ce-bb14-8f642ece7993} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.748824 [ 26889 ] {4c1bb1b8-fcf2-4fc6-960b-486ad98166d5} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.750408 [ 26889 ] {4c1bb1b8-fcf2-4fc6-960b-486ad98166d5} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.769798 [ 26889 ] {2f1a694e-ef65-42fd-8dff-2c7670d85866} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.771050 [ 26889 ] {2f1a694e-ef65-42fd-8dff-2c7670d85866} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.794969 [ 26889 ] {8e763e61-fab5-4e48-9d24-51c735117782} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.796423 [ 26889 ] {8e763e61-fab5-4e48-9d24-51c735117782} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.816934 [ 26889 ] {c3217db6-e541-4e7c-ade4-41be79977e4e} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.818466 [ 26889 ] {c3217db6-e541-4e7c-ade4-41be79977e4e} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.840680 [ 26889 ] {8378f709-d66f-46e9-8167-ba326a155986} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.842377 [ 26889 ] {8378f709-d66f-46e9-8167-ba326a155986} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.865039 [ 26889 ] {535a67c2-2584-4abb-a4c0-fa0656f60bbe} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.866920 [ 26889 ] {535a67c2-2584-4abb-a4c0-fa0656f60bbe} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.888801 [ 26889 ] {5d0ee36a-3796-4cf0-9f52-0a84c87db909} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.890249 [ 26889 ] {5d0ee36a-3796-4cf0-9f52-0a84c87db909} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.907719 [ 26889 ] {c5f59277-a155-4f65-a4a5-5168c448d0d5} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.908921 [ 26889 ] {c5f59277-a155-4f65-a4a5-5168c448d0d5} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.929411 [ 26889 ] {bb68093c-189e-4fd0-b13a-aea53578a55f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:27.930662 [ 26889 ] {bb68093c-189e-4fd0-b13a-aea53578a55f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.406173 [ 26889 ] {fdad20e7-d4c3-4dca-9b5b-4c619db9b1ab} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.408057 [ 26889 ] {fdad20e7-d4c3-4dca-9b5b-4c619db9b1ab} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.426558 [ 26889 ] {2c4a1b58-0457-4d8b-84d6-402722561b1b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.427916 [ 26889 ] {2c4a1b58-0457-4d8b-84d6-402722561b1b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.447229 [ 26889 ] {7ad9646b-6e1e-4f75-b1ae-52c6fa8f79ca} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.449338 [ 26889 ] {7ad9646b-6e1e-4f75-b1ae-52c6fa8f79ca} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.469619 [ 26889 ] {136d032b-fbee-4144-9d27-775849295d39} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.471398 [ 26889 ] {136d032b-fbee-4144-9d27-775849295d39} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.491233 [ 26889 ] {05b54ca5-7da4-4641-b26e-6dbd50dafec9} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.493840 [ 26889 ] {05b54ca5-7da4-4641-b26e-6dbd50dafec9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.514810 [ 26889 ] {f0a55d23-28f7-4732-bff5-b7b60813adeb} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.516334 [ 26889 ] {f0a55d23-28f7-4732-bff5-b7b60813adeb} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.534324 [ 26889 ] {2f1301ec-c5a6-4cd3-8aff-b176384539ac} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.536197 [ 26889 ] {2f1301ec-c5a6-4cd3-8aff-b176384539ac} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.553571 [ 26889 ] {e50a1caa-658e-47fb-819e-3c36e9274dc2} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.555067 [ 26889 ] {e50a1caa-658e-47fb-819e-3c36e9274dc2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.578287 [ 26889 ] {df93819c-d915-4248-81af-303bca4a48c7} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.579645 [ 26889 ] {df93819c-d915-4248-81af-303bca4a48c7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.596975 [ 26889 ] {f70b7508-6117-4a44-a187-11860a3cbe79} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.598797 [ 26889 ] {f70b7508-6117-4a44-a187-11860a3cbe79} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.616774 [ 26889 ] {9bca8888-6e0b-4682-89b2-2314e8c7c531} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.618449 [ 26889 ] {9bca8888-6e0b-4682-89b2-2314e8c7c531} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.637610 [ 26889 ] {cefb6096-195b-4f9b-9868-1530e4c1b4b9} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.639009 [ 26889 ] {cefb6096-195b-4f9b-9868-1530e4c1b4b9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.658961 [ 26889 ] {91034f18-c669-4e98-9884-d17971b4bf18} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.660568 [ 26889 ] {91034f18-c669-4e98-9884-d17971b4bf18} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.720138 [ 26889 ] {d079e834-ee42-42b0-8443-edafd671560f} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.721415 [ 26889 ] {d079e834-ee42-42b0-8443-edafd671560f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.739539 [ 26889 ] {8eef1fd9-e92b-47bb-b47e-f55ce1e702b4} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.741020 [ 26889 ] {8eef1fd9-e92b-47bb-b47e-f55ce1e702b4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.759215 [ 26889 ] {5cae4d1c-3e42-4920-82e5-9cb843387935} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.760654 [ 26889 ] {5cae4d1c-3e42-4920-82e5-9cb843387935} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:28.961642 [ 26889 ] {b2d6e843-8de2-4a6f-a04c-7ee074386f50} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:28.963662 [ 26889 ] {b2d6e843-8de2-4a6f-a04c-7ee074386f50} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:29.038820 [ 26889 ] {fb03b8eb-8906-4be5-a3cf-00ec32698784} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.040621 [ 26889 ] {fb03b8eb-8906-4be5-a3cf-00ec32698784} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.057096 [ 26889 ] {f61275f0-a521-400a-8398-8ffd83c6a21a} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.058260 [ 26889 ] {f61275f0-a521-400a-8398-8ffd83c6a21a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.437731 [ 26889 ] {92846cb0-4a4b-47dd-87d3-91a009a81938} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:29.585410 [ 26889 ] {92846cb0-4a4b-47dd-87d3-91a009a81938} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:29.717128 [ 26889 ] {12b39b05-8079-4b8f-957f-df606a9d6891} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.718858 [ 26889 ] {12b39b05-8079-4b8f-957f-df606a9d6891} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.846763 [ 26889 ] {adc57ad4-0aa2-4d75-b66d-d66afcced7aa} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:29.854613 [ 26889 ] {adc57ad4-0aa2-4d75-b66d-d66afcced7aa} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:30.245647 [ 26889 ] {a884d191-28ad-490d-accc-868313e0b3be} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:30.254928 [ 26889 ] {a884d191-28ad-490d-accc-868313e0b3be} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:30.431123 [ 26889 ] {fb5d6937-630f-48b7-a5de-84f54072313a} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:30.439193 [ 26889 ] {fb5d6937-630f-48b7-a5de-84f54072313a} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:30.504005 [ 26889 ] {4a7c6e1c-eac8-4bfa-9e9b-24533c00397d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:30.507054 [ 26889 ] {4a7c6e1c-eac8-4bfa-9e9b-24533c00397d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:30.865548 [ 26889 ] {683b2ead-46d5-4349-8d92-6c7b16cf83c2} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:30.871410 [ 26889 ] {683b2ead-46d5-4349-8d92-6c7b16cf83c2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:30.948677 [ 26889 ] {a20a6524-7357-48ba-9d31-b3dd2bc4cff1} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:30.956852 [ 26889 ] {a20a6524-7357-48ba-9d31-b3dd2bc4cff1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:31.037946 [ 26889 ] {15398966-5a1e-43f6-baa4-835e9bb947a4} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:31.042730 [ 26889 ] {15398966-5a1e-43f6-baa4-835e9bb947a4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:31.141006 [ 26889 ] {57643c2e-a1aa-4839-9837-76e312ff9220} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.146819 [ 26889 ] {57643c2e-a1aa-4839-9837-76e312ff9220} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.162432 [ 26889 ] {44c6c75b-cdc4-4187-8861-dc030b3e0c79} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.163554 [ 26889 ] {44c6c75b-cdc4-4187-8861-dc030b3e0c79} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.525959 [ 26889 ] {1b92015d-6e95-4d69-9459-8dacac8c31d8} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.526977 [ 26889 ] {1b92015d-6e95-4d69-9459-8dacac8c31d8} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.540176 [ 26889 ] {083c80ec-64bb-4e95-878f-93c4a7c10b52} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.541314 [ 26889 ] {083c80ec-64bb-4e95-878f-93c4a7c10b52} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.777951 [ 26889 ] {568820cb-4fe2-4006-b312-bc26c6890390} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.781171 [ 26889 ] {568820cb-4fe2-4006-b312-bc26c6890390} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.796501 [ 26889 ] {e38ab9ef-98cf-4a61-a762-60e32d4efd36} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:31.798062 [ 26889 ] {e38ab9ef-98cf-4a61-a762-60e32d4efd36} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.031582 [ 26889 ] {a410c8b6-e776-41a2-b3d9-72e3b9d11403} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.032769 [ 26889 ] {a410c8b6-e776-41a2-b3d9-72e3b9d11403} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.045465 [ 26889 ] {6f365687-ef9f-4cca-ab31-e3dfe30a6879} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.046794 [ 26889 ] {6f365687-ef9f-4cca-ab31-e3dfe30a6879} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.115261 [ 26889 ] {09463cf7-8dee-485f-955d-fc67e13cefaa} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.116428 [ 26889 ] {09463cf7-8dee-485f-955d-fc67e13cefaa} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.128424 [ 26889 ] {0f6a5ae4-abf8-4327-ac88-52dd2369bf84} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.129441 [ 26889 ] {0f6a5ae4-abf8-4327-ac88-52dd2369bf84} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.142314 [ 26889 ] {fc9f0e41-88fd-422f-b689-571bd31c53e9} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.143423 [ 26889 ] {fc9f0e41-88fd-422f-b689-571bd31c53e9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.156755 [ 26889 ] {3c8a0172-af0d-4d3e-a058-c7087323a505} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.158008 [ 26889 ] {3c8a0172-af0d-4d3e-a058-c7087323a505} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157f8 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.240161 [ 26889 ] {79ded920-f4c5-4230-88a4-49b1026a099a} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.241385 [ 26889 ] {79ded920-f4c5-4230-88a4-49b1026a099a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.251987 [ 26889 ] {12872dd9-2903-4710-a782-2ff8326b0861} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.253106 [ 26889 ] {12872dd9-2903-4710-a782-2ff8326b0861} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x1ce1595e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x1ce157df in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce196b0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:32.264674 [ 26889 ] {0aa89ff9-c7d9-4063-815c-2dc7e257fa75} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.265870 [ 26889 ] {0aa89ff9-c7d9-4063-815c-2dc7e257fa75} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.276977 [ 26889 ] {d926ebe9-eaa0-4d70-a4f2-632e57203168} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.277989 [ 26889 ] {d926ebe9-eaa0-4d70-a4f2-632e57203168} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.342658 [ 26889 ] {4c313db0-21a2-4dce-bd4c-00a1ff31be53} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.343700 [ 26889 ] {4c313db0-21a2-4dce-bd4c-00a1ff31be53} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.354312 [ 26889 ] {d38db76a-5b5f-43bc-b81e-28b9e0c47ad3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.355318 [ 26889 ] {d38db76a-5b5f-43bc-b81e-28b9e0c47ad3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.366853 [ 26889 ] {bee2ca4d-ff72-417f-a0a8-32d270a8d44d} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.368148 [ 26889 ] {bee2ca4d-ff72-417f-a0a8-32d270a8d44d} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.379660 [ 26889 ] {a66cb620-2096-42b4-b6da-5ddfd7cd2f7a} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.380676 [ 26889 ] {a66cb620-2096-42b4-b6da-5ddfd7cd2f7a} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.391091 [ 26889 ] {dfbb3bb8-433f-467a-8e0f-824ded223c55} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.392028 [ 26889 ] {dfbb3bb8-433f-467a-8e0f-824ded223c55} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.402141 [ 26889 ] {6784d40d-0361-46c6-9614-ff720aa6d71b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.403047 [ 26889 ] {6784d40d-0361-46c6-9614-ff720aa6d71b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.414297 [ 26889 ] {861b7d04-4694-41e9-a52f-6f32abcf69a8} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.415396 [ 26889 ] {861b7d04-4694-41e9-a52f-6f32abcf69a8} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.427659 [ 26889 ] {9c2f5d64-09c1-4e6c-8255-8d07502e4dc9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.429789 [ 26889 ] {9c2f5d64-09c1-4e6c-8255-8d07502e4dc9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.442354 [ 26889 ] {04a40e7a-25e2-4f64-80e1-d371dc497ef3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.443884 [ 26889 ] {04a40e7a-25e2-4f64-80e1-d371dc497ef3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.458222 [ 26889 ] {e45b1755-2d88-482f-a22c-5d19f5150cfe} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.459427 [ 26889 ] {e45b1755-2d88-482f-a22c-5d19f5150cfe} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf202123 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.504161 [ 26889 ] {c90ef8d7-4af1-4057-ac26-7da278252481} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.505340 [ 26889 ] {c90ef8d7-4af1-4057-ac26-7da278252481} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.517774 [ 26889 ] {177cb132-5a8a-4599-93cc-8a39baeaf30c} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.518972 [ 26889 ] {177cb132-5a8a-4599-93cc-8a39baeaf30c} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.529399 [ 26889 ] {5bbc7c7d-40c3-44ee-bab1-6f0fbfc79968} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.530532 [ 26889 ] {5bbc7c7d-40c3-44ee-bab1-6f0fbfc79968} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xebaae23 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1228: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d35a0c7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.541365 [ 26889 ] {246e8c72-192b-4769-875e-1eab0032cffb} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.542592 [ 26889 ] {246e8c72-192b-4769-875e-1eab0032cffb} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.554488 [ 26889 ] {c1866552-fa81-4330-b1ee-03e3daed9002} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.555607 [ 26889 ] {c1866552-fa81-4330-b1ee-03e3daed9002} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.567377 [ 26889 ] {8c5e2d3d-f1e2-4dea-8c64-7dbd761eabda} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.568686 [ 26889 ] {8c5e2d3d-f1e2-4dea-8c64-7dbd761eabda} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.580700 [ 26889 ] {93ac43c5-db50-4d15-9120-c7d1cd3c2cbf} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.581908 [ 26889 ] {93ac43c5-db50-4d15-9120-c7d1cd3c2cbf} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.594807 [ 26889 ] {d81d6d3a-f111-406c-8948-d357515fdaa1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.596054 [ 26889 ] {d81d6d3a-f111-406c-8948-d357515fdaa1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.607627 [ 26889 ] {fe09a27c-6be4-41ef-8d66-7e189b99f429} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.608746 [ 26889 ] {fe09a27c-6be4-41ef-8d66-7e189b99f429} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.620566 [ 26889 ] {203fb106-ede6-434b-b827-ece71db3addd} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.621641 [ 26889 ] {203fb106-ede6-434b-b827-ece71db3addd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.633604 [ 26889 ] {5614c966-e31e-4ddb-9046-42e2d1e6be70} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.634823 [ 26889 ] {5614c966-e31e-4ddb-9046-42e2d1e6be70} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.646120 [ 26889 ] {c91406e7-59c9-4708-8335-ee7a52d4e1a2} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.647324 [ 26889 ] {c91406e7-59c9-4708-8335-ee7a52d4e1a2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.658501 [ 26889 ] {a587de84-0b47-43df-ba9f-9368d3afc7e7} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.659796 [ 26889 ] {a587de84-0b47-43df-ba9f-9368d3afc7e7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.702949 [ 26889 ] {076b6d34-b29e-4aa5-b434-f97a85d8ea4d} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.704230 [ 26889 ] {076b6d34-b29e-4aa5-b434-f97a85d8ea4d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.716549 [ 26889 ] {52c87ba8-22c3-44e2-9376-5f48dee2bdbd} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.717659 [ 26889 ] {52c87ba8-22c3-44e2-9376-5f48dee2bdbd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.728060 [ 26889 ] {65bd8400-6517-4a30-bd07-efc8be7ec41a} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33828) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:32.729302 [ 26889 ] {65bd8400-6517-4a30-bd07-efc8be7ec41a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x126c00c7 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x1ce14ede in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x1ce19e94 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10016365 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 2024.03.19 13:04:33.620305 [ 11745 ] {91be33e6-2646-4375-8349-caf2ec307b64} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33230) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + countState(b) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:33.621466 [ 11745 ] {91be33e6-2646-4375-8349-caf2ec307b64} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:33.632099 [ 11745 ] {a5a03778-225d-404d-9b4f-4a7b39ee1e58} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33230) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + sumState(toInt32(b)) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:33.633234 [ 11745 ] {a5a03778-225d-404d-9b4f-4a7b39ee1e58} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x1e181c7a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x1e5c5a9a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x1e1d1a70 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7926 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:04:34.028770 [ 26882 ] {477e11b9-fe28-4312-8d17-27c497e3516d} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33286) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, -2)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x13348062 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:196: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc5560 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.340518 [ 26882 ] {477e11b9-fe28-4312-8d17-27c497e3516d} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x13348062 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:196: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc5560 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.340612 [ 11745 ] {741842c2-91f0-4b11-90ab-34b5ccf9bd09} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33230) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT uniqMerge(x + y) FROM (SELECT uniqState(65536, a) AS x, uniqState(b) AS y FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x1d31b629 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:641: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c0ff in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:34.341740 [ 11745 ] {741842c2-91f0-4b11-90ab-34b5ccf9bd09} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1295accc in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x126c3e83 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x1d31b629 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:641: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x1d31c0ff in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x1d3185be in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x1d3174d3 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:326: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x1e0dd014 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0bfcec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:34.345588 [ 26882 ] {e9598552-c600-4959-8309-739d1bda7284} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33286) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, 15)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x13348062 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:196: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc5560 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.346376 [ 26882 ] {e9598552-c600-4959-8309-739d1bda7284} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x13348062 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:196: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc5560 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.573604 [ 26882 ] {6df3cb53-582a-48d2-981d-79046b7235c8} executeQuery: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33286) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(0, 0)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x1cdc5673 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:192: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc552e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.574506 [ 26882 ] {6df3cb53-582a-48d2-981d-79046b7235c8} TCPHandler: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x1cdc5673 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:192: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x1cdc552e in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x1cdc352e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x1ccc7423 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x1ccdd0c0 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x1ccdc904 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x1ccda321 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de838de in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:34.913882 [ 4068 ] {8510443c-5738-4d6b-b2de-ad65ce8465c9} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33326) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt32(2147483648) AS x, a == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0xee9e74b in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0xee9e8b7 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xee9de4e in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xee9c0bb in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0xee90ff6 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95662 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9482e in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.264590 [ 11125 ] {3cad1901-3ec5-4659-97ec-c4af67b0ddea} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37650) (comment: 00692_if_exception_code.sql) (in query: SELECT if();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.264925 [ 4068 ] {8510443c-5738-4d6b-b2de-ad65ce8465c9} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0xee9e74b in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0xee9e8b7 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xee9de4e in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xee9c0bb in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0xee90ff6 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95662 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9482e in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.266466 [ 11125 ] {3cad1901-3ec5-4659-97ec-c4af67b0ddea} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.272292 [ 11125 ] {adf8597d-8dda-4be4-a885-3bdf0f02394b} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37650) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.273030 [ 11125 ] {adf8597d-8dda-4be4-a885-3bdf0f02394b} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.277518 [ 11125 ] {e3f71d8c-4489-4484-a5f5-4c90842d23e4} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37650) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.278237 [ 11125 ] {e3f71d8c-4489-4484-a5f5-4c90842d23e4} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e2a88 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:0: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x1e4e228c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:714: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x1e4d4091 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bee09 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.584746 [ 4068 ] {9c678fda-1c24-4a7b-b074-04506dd26fb4} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33326) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt64(9223372036854775808) AS x, b == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0xeef4a4d in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0xeef4bb8 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0xeef444f in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeef3062 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0xeee7d96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95833 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9483b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.585844 [ 4068 ] {9c678fda-1c24-4a7b-b074-04506dd26fb4} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0xeef4a4d in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0xeef4bb8 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0xeef444f in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeef3062 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0xeee7d96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95833 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9483b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.945696 [ 4068 ] {80d42c68-7e17-4072-95b9-6ae79827bccd} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33326) (comment: 00700_decimal_compare.sql) (in query: SELECT g = 30000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0xee9969a in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0xee99816 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xee98710 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xee97325 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0xee90e96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95651 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9482e in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:35.946821 [ 4068 ] {80d42c68-7e17-4072-95b9-6ae79827bccd} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0xee9969a in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0xee99816 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xee98710 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xee97325 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0xee90e96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95651 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9482e in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:36.272122 [ 4068 ] {405dbc7a-f142-46fe-bcfb-215d38cc5dc7} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33326) (comment: 00700_decimal_compare.sql) (in query: SELECT 30000 = g FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0xedab05a in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0xedab116 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xedaa492 in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeda9978 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0xeda91f6 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed94a68 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed94730 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:36.343391 [ 4068 ] {405dbc7a-f142-46fe-bcfb-215d38cc5dc7} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0xedab05a in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0xedab116 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0xedaa492 in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeda9978 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0xeda91f6 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed94a68 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed94730 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:36.668218 [ 4068 ] {79777969-e7d4-40ed-a7e6-67f6c3e4ea29} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33326) (comment: 00700_decimal_compare.sql) (in query: SELECT h = 10000000000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0xeef4768 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0xeef48d8 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0xeef3acf in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeef3077 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0xeee7d96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95833 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9483b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:36.669124 [ 4068 ] {79777969-e7d4-40ed-a7e6-67f6c3e4ea29} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0xc6c7aa2 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0xeef4768 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0xeef48d8 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0xeef3acf in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0xeef3077 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0xeee7d96 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed95833 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0xed9483b in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0xebc2fcd in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba7c27 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:37.528902 [ 1026 ] {56175bf7-dfe7-4295-b4cd-77bf5a5bb99d} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37864) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT NULL AS src SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0xc69d3a2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xc69aa4c in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0xc699c3d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a4896 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:37.529707 [ 1026 ] {56175bf7-dfe7-4295-b4cd-77bf5a5bb99d} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0xc69d3a2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xc69aa4c in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0xc699c3d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a4896 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:38.082334 [ 1026 ] {ecf1ace7-0892-42c2-8cf2-2300a3077d23} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37890) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT number % 2 ? 1 : NULL AS src FROM numbers(10) SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcafdd9b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcafda6a in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:38.083690 [ 1026 ] {ecf1ace7-0892-42c2-8cf2-2300a3077d23} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcafdd9b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcafda6a in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:43.766240 [ 29109 ] {79f822ee-461e-4746-9f54-24b043fc077a} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38504) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:43.767193 [ 29109 ] {79f822ee-461e-4746-9f54-24b043fc077a} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:44.343553 [ 29109 ] {6f2a7892-30a6-463d-b596-4821167f223a} executeQuery: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38556) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000') FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x13436b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434c3d in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:44.372222 [ 29109 ] {6f2a7892-30a6-463d-b596-4821167f223a} TCPHandler: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x13436b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434c3d in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:45.033455 [ 29111 ] {8e2ae5f3-cf22-4e23-bd19-e352ca45d704} executeQuery: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49078) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x13436cba in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1343576e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:45.035090 [ 29111 ] {8e2ae5f3-cf22-4e23-bd19-e352ca45d704} TCPHandler: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x13436cba in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1343576e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:45.674543 [ 11778 ] {7ceaae0f-a54f-4acb-91e3-60f62a6c472d} executeQuery: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49164) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x13435970 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:46.019349 [ 29117 ] {90b65b2c-2178-446c-afb0-99a620c723e6} executeQuery: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49172) (comment: 00578_merge_table_shadow_virtual_column.sql) (in query: SELECT count() FROM merge(currentDatabase(), '^numbers\\d+$') WHERE _table='numbers1';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d332f89 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 13:04:46.019462 [ 11778 ] {7ceaae0f-a54f-4acb-91e3-60f62a6c472d} TCPHandler: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x13435970 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:46.020273 [ 29117 ] {90b65b2c-2178-446c-afb0-99a620c723e6} TCPHandler: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57bf70 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xebc2404 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xeba74b4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d332f89 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 13:04:46.350444 [ 29111 ] {8438dba2-cd44-4a3f-afb8-d8eb9637ae17} executeQuery: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49278) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(42)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:46.351393 [ 29111 ] {8438dba2-cd44-4a3f-afb8-d8eb9637ae17} TCPHandler: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:46.688692 [ 11778 ] {1faa9ced-4fa4-47c9-815a-110c60b02889} executeQuery: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49308) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(0)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:46.690003 [ 11778 ] {1faa9ced-4fa4-47c9-815a-110c60b02889} TCPHandler: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.025008 [ 11778 ] {54fcab3e-4b6c-49d0-a388-16f6b979369c} executeQuery: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49318) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(101)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.026199 [ 11778 ] {54fcab3e-4b6c-49d0-a388-16f6b979369c} TCPHandler: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.359057 [ 29117 ] {2d0d21f6-6a6a-4605-9d77-1e241d0b0f23} executeQuery: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49350) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(102)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.360418 [ 29117 ] {2d0d21f6-6a6a-4605-9d77-1e241d0b0f23} TCPHandler: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.685644 [ 11778 ] {d7ed1f37-34a2-415f-87f3-73c86e407161} executeQuery: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49382) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1001)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:47.687127 [ 11778 ] {d7ed1f37-34a2-415f-87f3-73c86e407161} TCPHandler: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.007562 [ 11778 ] {ab209aa2-4f63-4cf5-a376-b0b4266239ed} executeQuery: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49450) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1002)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.008509 [ 11778 ] {ab209aa2-4f63-4cf5-a376-b0b4266239ed} TCPHandler: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.340718 [ 11778 ] {df60b25e-6865-4e31-96ec-cb38a015c0b0} executeQuery: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. () (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49478) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(999999)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.342033 [ 11778 ] {df60b25e-6865-4e31-96ec-cb38a015c0b0} TCPHandler: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.678851 [ 11778 ] {3507c070-59c4-4bfc-ac0b-abd120c3b326} executeQuery: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. () (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49492) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(-1)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:48.680187 [ 11778 ] {3507c070-59c4-4bfc-ac0b-abd120c3b326} TCPHandler: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:51.188398 [ 29110 ] {26a566fb-89c4-4c3e-84f4-872fdfe606d7} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: -- test gcd float select gcd(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.189439 [ 29110 ] {26a566fb-89c4-4c3e-84f4-872fdfe606d7} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.195437 [ 29110 ] {f275953a-7923-4dda-ab63-7e954e25ca43} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.196317 [ 29110 ] {f275953a-7923-4dda-ab63-7e954e25ca43} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.201850 [ 29110 ] {c6f338d2-3919-4357-9903-a86ba94c9293} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.202622 [ 29110 ] {c6f338d2-3919-4357-9903-a86ba94c9293} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.207873 [ 29110 ] {a4d89156-f121-4689-8cad-8dce6c02628a} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.208671 [ 29110 ] {a4d89156-f121-4689-8cad-8dce6c02628a} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.213431 [ 29110 ] {98ace1bd-716e-49ac-a963-3736c28b86c7} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.214211 [ 29110 ] {98ace1bd-716e-49ac-a963-3736c28b86c7} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.218971 [ 29110 ] {3afe9246-ec4b-44f0-8ac8-f686f3e97db9} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.219734 [ 29110 ] {3afe9246-ec4b-44f0-8ac8-f686f3e97db9} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.224384 [ 29110 ] {47e2875e-5a88-4989-b703-76044c63c432} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select gcd(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.225126 [ 29110 ] {47e2875e-5a88-4989-b703-76044c63c432} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0xf19f75e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0xf0fe843 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.643631 [ 29110 ] {b5fef8f2-c107-43c0-801e-78c3a1574a58} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: -- test lcm float select lcm(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.645560 [ 29110 ] {b5fef8f2-c107-43c0-801e-78c3a1574a58} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.652649 [ 29110 ] {73ae7bea-4cb3-461f-be60-9225a4be8b61} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.653690 [ 29110 ] {73ae7bea-4cb3-461f-be60-9225a4be8b61} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.659166 [ 29110 ] {dc8ba3a2-385e-42d7-a1b1-cd4cf492df63} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.660184 [ 29110 ] {dc8ba3a2-385e-42d7-a1b1-cd4cf492df63} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.665601 [ 29110 ] {58c1b2f4-2f85-4b7f-9e22-b162a5521dfd} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.666505 [ 29110 ] {58c1b2f4-2f85-4b7f-9e22-b162a5521dfd} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.672100 [ 29110 ] {d33bb279-46a1-46c2-a194-4806482bbfa4} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.673087 [ 29110 ] {d33bb279-46a1-46c2-a194-4806482bbfa4} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.677857 [ 29110 ] {11080945-89ed-4442-b07e-66ceedd552b2} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.678638 [ 29110 ] {11080945-89ed-4442-b07e-66ceedd552b2} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.683973 [ 29110 ] {5ee8bac9-7ef0-425e-8fa4-d146dec2d25d} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49772) (comment: 00515_gcd_lcm.sql) (in query: select lcm(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:51.684823 [ 29110 ] {5ee8bac9-7ef0-425e-8fa4-d146dec2d25d} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0xcd60dae in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x108b855e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x10812803 in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0xd5eaa0e in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:04:52.941820 [ 2732 ] {a314e387-4bb1-497a-8819-20a4c968c5a1} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33632) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE summing_r1 ADD COLUMN t UInt32 AFTER z, MODIFY ORDER BY (x, y, t * t) SETTINGS replication_alter_partitions_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x1ee568c8 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5735: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x1edea63d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbda2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2b95 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:52.951616 [ 2732 ] {a314e387-4bb1-497a-8819-20a4c968c5a1} TCPHandler: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x1ee568c8 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5735: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x1edea63d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x1edcbda2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2b95 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:53.735433 [ 4071 ] {6f0427ee-7a16-4866-bdde-2844ce2be3f1} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50004) (comment: 00504_insert_miss_columns.sh) (in query: INSERT INTO advertiser_test SELECT *, sipHash64( CAST(adblock AS String) ), CAST(1 AS Int8) FROM advertiser;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1214: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a57b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:53.736725 [ 4071 ] {6f0427ee-7a16-4866-bdde-2844ce2be3f1} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1214: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a57b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:04:57.180534 [ 26920 ] {71517a6e-435d-40b7-9e3e-e65b78c9a7e0} executeQuery: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47850) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN d UInt16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134ed52a in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x134eb10d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x1d3301c1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x1d330854 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce9a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:947: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c477 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:04:57.182553 [ 26920 ] {71517a6e-435d-40b7-9e3e-e65b78c9a7e0} TCPHandler: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134ed52a in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x134eb10d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x1d3301c1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x1d330854 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce9a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:947: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c477 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:04:57.828417 [ 26920 ] {44e98316-46bf-42d7-9f77-6e0eadcb46ea} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 00386_has_column_in_table.sql) (in query: /* bad queries */ SELECT hasColumnInTable('', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff5b09f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:57.829651 [ 26920 ] {44e98316-46bf-42d7-9f77-6e0eadcb46ea} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff5b09f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:58.322707 [ 26920 ] {452115ca-e2cd-4ef5-af46-e1215f3ed5d4} executeQuery: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('', 't', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/optional:285: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28df2a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:58.717636 [ 24576 ] {e6521b92-3979-4f2f-8758-1f829479a3d5} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48024) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN c UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134e31ea in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134e1669 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x1d3301c1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x1d330854 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce9a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:932: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c3d1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:04:58.717918 [ 26920 ] {452115ca-e2cd-4ef5-af46-e1215f3ed5d4} TCPHandler: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/optional:285: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28df2a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:58.719482 [ 24576 ] {e6521b92-3979-4f2f-8758-1f829479a3d5} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x134e31ea in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x134e1669 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x1d3301c1 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x1d330854 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x1ebce9a6 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x1ebce1d4 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:932: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x1eb6c3d1 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x1f37ed86 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df499b0 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:04:58.729106 [ 26920 ] {0c35ed5e-f776-48dd-b2e6-b6594d17e458} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), '', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff5b09f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:58.730473 [ 26920 ] {0c35ed5e-f776-48dd-b2e6-b6594d17e458} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff5b09f in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:04:59.117245 [ 26920 ] {43d051b0-69aa-49c7-b43f-b191472c494b} executeQuery: Code: 81. DB::Exception: Database d doesn't exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('d', 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e2f0 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:59.118646 [ 26920 ] {43d051b0-69aa-49c7-b43f-b191472c494b} TCPHandler: Code: 81. DB::Exception: Database d doesn't exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e2f0 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:59.500311 [ 26920 ] {61c38ee5-59e5-4aac-b4e1-2250f5cb197a} executeQuery: Code: 60. DB::Exception: Table test_b5g2zukb.t doesn't exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:04:59.518398 [ 26920 ] {61c38ee5-59e5-4aac-b4e1-2250f5cb197a} TCPHandler: Code: 60. DB::Exception: Table test_b5g2zukb.t doesn't exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xff59ff1 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:05:04.406035 [ 1029 ] {3b83332a-1ed1-43f4-903c-fe4e99c5daa1} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40298) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:04.407540 [ 1029 ] {3b83332a-1ed1-43f4-903c-fe4e99c5daa1} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:05:04.425418 [ 1029 ] {a061c015-2566-47fb-a002-290101e00295} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40310) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:04.426672 [ 1029 ] {a061c015-2566-47fb-a002-290101e00295} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:05:04.447132 [ 1029 ] {2ec3d650-91cf-44da-9ff1-d634961e4e90} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40324) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:04.448393 [ 1029 ] {2ec3d650-91cf-44da-9ff1-d634961e4e90} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:05:04.963641 [ 1028 ] {19e5943f-fa6d-4130-9ba2-768c56317740} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51894) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:04.963983 [ 6032 ] {98a10893-d4e9-460e-9fd3-b0e9b8365ac6} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33034) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:04.965251 [ 1028 ] {19e5943f-fa6d-4130-9ba2-768c56317740} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:04.966565 [ 6032 ] {98a10893-d4e9-460e-9fd3-b0e9b8365ac6} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:04.975757 [ 1029 ] {bac79768-3c71-4d27-8105-7606cf269f3e} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40336) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:05:04.979072 [ 1029 ] {bac79768-3c71-4d27-8105-7606cf269f3e} DynamicQueryHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:05:05.287453 [ 1029 ] {a7bf582b-7f29-4073-bb38-b0a6e2949ce0} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37932) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:05.289215 [ 1029 ] {a7bf582b-7f29-4073-bb38-b0a6e2949ce0} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:05.609227 [ 11125 ] {04833b4b-5c63-489d-a3ca-5efb32d6c2d6} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37960) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:05.611234 [ 11125 ] {04833b4b-5c63-489d-a3ca-5efb32d6c2d6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:05.970945 [ 6032 ] {1e6c169f-a3c3-45ba-8d79-5d0e0f4c212f} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54048) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:05.972999 [ 6032 ] {1e6c169f-a3c3-45ba-8d79-5d0e0f4c212f} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:05.973601 [ 29113 ] {99fbdc8e-7094-4072-97a1-aeaf8635b2e3} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33044) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:05.976827 [ 29113 ] {99fbdc8e-7094-4072-97a1-aeaf8635b2e3} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 2024.03.19 13:05:05.983505 [ 1028 ] {d3923abc-f5be-4907-b7a0-ddbd692c5937} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38012) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:05:05.986042 [ 1028 ] {d3923abc-f5be-4907-b7a0-ddbd692c5937} TCPHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x10310c03 in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x10310b75 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x105029ea in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1050050c in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x104d8b01 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x104d75a3 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d5dc3 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x104d461e in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x1d09a21b in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x1fc8a8b9 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x1fea2444 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x1e0d363b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c76bf in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:05:07.704069 [ 29111 ] {a320377b-7b73-4a26-a923-c45745d19ca5} executeQuery: Code: 48. DB::Exception: Unsupported compression method: While executing ParallelFormattingOutputFormat. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56356) (comment: 00302_http_compression.sh) (in query: SELECT number FROM system.numbers LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0xe3eb322 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x18acf439 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:0: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x1f95a50b in /usr/bin/clickhouse 5. ./build_docker/./src/IO/BufferBase.h:39: DB::IOutputFormat::flush() @ 0x1f9c998e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:1009: DB::ParallelFormattingOutputFormat::collectorThreadFunction(std::shared_ptr const&) @ 0x1fb38fd6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'()::operator()() @ 0x1f96cbc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f96cb02 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:07.716691 [ 29111 ] {a320377b-7b73-4a26-a923-c45745d19ca5} DynamicQueryHandler: Code: 48. DB::Exception: Unsupported compression method: While executing ParallelFormattingOutputFormat. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0xe3eb322 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x18acf439 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:0: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x1f95a50b in /usr/bin/clickhouse 5. ./build_docker/./src/IO/BufferBase.h:39: DB::IOutputFormat::flush() @ 0x1f9c998e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/atomic:1009: DB::ParallelFormattingOutputFormat::collectorThreadFunction(std::shared_ptr const&) @ 0x1fb38fd6 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'()::operator()() @ 0x1f96cbc4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::ParallelFormattingOutputFormat::ParallelFormattingOutputFormat(DB::ParallelFormattingOutputFormat::Params)::'lambda'()&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f96cb02 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:05:22.647806 [ 1030 ] {b4305210-b94a-4d53-a05b-7319445e610b} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52074) (comment: 00153_transform.sql) (in query: SELECT transform('hello', 'wrong', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135170f5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:22.649233 [ 1030 ] {b4305210-b94a-4d53-a05b-7319445e610b} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135170f5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.028414 [ 1030 ] {0e53d2b9-b941-47e4-b80c-6639d3dab0a0} executeQuery: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52074) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135171a2 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.029619 [ 1030 ] {0e53d2b9-b941-47e4-b80c-6639d3dab0a0} TCPHandler: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135171a2 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.402252 [ 1030 ] {038ff934-6634-4c70-a0fd-e3bfbe189e0a} executeQuery: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52074) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135174e5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.403591 [ 1030 ] {038ff934-6634-4c70-a0fd-e3bfbe189e0a} TCPHandler: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x135174e5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.924012 [ 1030 ] {e660467f-71a7-4ce2-bfdc-e35095bfb83f} executeQuery: Code: 43. DB::Exception: Unsupported type Tuple(UInt8) of first argument of function transform, must be numeric type or Date/DateTime or String: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52074) (comment: 00153_transform.sql) (in query: SELECT transform(tuple(1), ['sdf'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x13517687 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:23.927271 [ 1030 ] {e660467f-71a7-4ce2-bfdc-e35095bfb83f} TCPHandler: Code: 43. DB::Exception: Unsupported type Tuple(UInt8) of first argument of function transform, must be numeric type or Date/DateTime or String: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x13517687 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0xc68e3b1 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0xc68bdda in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x1c5f7060 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x1c5f6c64 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x1c5f7a6b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d091ef7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 2024.03.19 13:05:30.627121 [ 26883 ] {71ef2cba-5055-421d-99dd-77fd7cb1359b} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56292) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:30.630328 [ 26883 ] {71ef2cba-5055-421d-99dd-77fd7cb1359b} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.034354 [ 4618 ] {74948365-660c-4405-8976-f6ab398b74d2} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56308) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.039118 [ 4618 ] {74948365-660c-4405-8976-f6ab398b74d2} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.476043 [ 4068 ] {de7e8ee3-b0a1-4025-8c4e-232d897860d0} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56316) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.479354 [ 4068 ] {de7e8ee3-b0a1-4025-8c4e-232d897860d0} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.882924 [ 4618 ] {be8f9ffc-9692-4c12-adc0-d42865938775} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56320) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:31.885150 [ 4618 ] {be8f9ffc-9692-4c12-adc0-d42865938775} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:32.317014 [ 11125 ] {12e94c6c-4098-46b7-b6df-5ebbb18fbf88} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56344) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:32.320433 [ 11125 ] {12e94c6c-4098-46b7-b6df-5ebbb18fbf88} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:32.730622 [ 11125 ] {cb1d9cd2-1792-45f5-9e7d-634b8d7648e5} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56346) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:32.733596 [ 11125 ] {cb1d9cd2-1792-45f5-9e7d-634b8d7648e5} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:33.166356 [ 1029 ] {f2252e6f-dc62-4680-abb9-391cb0566df9} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56358) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:33.169235 [ 1029 ] {f2252e6f-dc62-4680-abb9-391cb0566df9} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:33.560502 [ 1029 ] {6fc9c12e-eb7a-4f83-998f-4e75d16fd0f1} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56378) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:33.564189 [ 1029 ] {6fc9c12e-eb7a-4f83-998f-4e75d16fd0f1} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:34.100935 [ 11125 ] {516e38b9-476e-40a0-a731-f1c15ed0c06d} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56380) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:34.107788 [ 11125 ] {516e38b9-476e-40a0-a731-f1c15ed0c06d} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:34.703051 [ 6032 ] {767b5db7-20f9-425e-a276-b360df7caef4} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56382) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:05:34.718309 [ 6032 ] {767b5db7-20f9-425e-a276-b360df7caef4} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0xc6cfc02 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x1188e413 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a780c in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x119a5002 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x119a41f8 in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x119a2e83 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a1823 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x119a059e in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:06:23.388492 [ 2732 ] {c4340fef-0130-4958-8037-9a08a59a4c02} executeQuery: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41198) (comment: 00079_defaulted_columns.sql) (in query: create table defaulted (col1 Int8, col2 UInt64 default (SELECT dummy+99 from system.one)) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x10801462 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88a60 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:06:23.389741 [ 2732 ] {c4340fef-0130-4958-8037-9a08a59a4c02} TCPHandler: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x10801462 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1eb88a60 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x1de84934 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:06:28.379512 [ 12571 ] {01780f6a-4c2b-4cee-82fa-7ce3fa403a52} executeQuery: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53500) (comment: 00011_array_join_alias.sql) (in query: SELECT x, a FROM (SELECT arrayJoin(['Hello', 'Goodbye']) AS x, [1, 2, 3] AS arr) ARRAY JOIN;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c1ac5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:06:28.380815 [ 12571 ] {01780f6a-4c2b-4cee-82fa-7ce3fa403a52} TCPHandler: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4c1ac5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:07:47.265484 [ 12571 ] {06be8f26-f3ca-458f-aaed-90d15588a7d3} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60086) (comment: 02703_row_policies_for_database_combination.sql) (in query: SELECT * FROM 02703_db.02703_unexpected_columns;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:167: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x1e0b4b7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c07bc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:07:47.266390 [ 12571 ] {06be8f26-f3ca-458f-aaed-90d15588a7d3} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:167: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x1e0b4b7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c07bc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:07:57.790647 [ 4593 ] {2b19aa14-1251-4c89-8ed4-fd356df4a385} executeQuery: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60118) (comment: 02536_hdfs_cluster_use_structure_from_table.sql) (in query: insert into test select * from hdfsCluster('test_cluster_two_shards_localhost', 'hdfs://localhost:12222/test_02536.jsonl') settings use_structure_from_insertion_table_in_table_functions=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0xc6a7ddd in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xc6a3f60 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xc69d5aa in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xc69a866 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xc699c3d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a4896 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:07:57.791680 [ 4593 ] {2b19aa14-1251-4c89-8ed4-fd356df4a385} TCPHandler: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0xc6a7ddd in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xc6a3f60 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0xc69d5aa in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0xc69a866 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0xc699c3d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092b3e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a4896 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:16.825515 [ 4593 ] {15a8180d-41ec-4477-8947-8390d42698e1} executeQuery: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36582) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:16.826863 [ 4593 ] {15a8180d-41ec-4477-8947-8390d42698e1} TCPHandler: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:17.147220 [ 4593 ] {0e8b59ea-109a-4adf-b93e-035dc257f03e} executeQuery: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36586) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:17.148599 [ 4593 ] {0e8b59ea-109a-4adf-b93e-035dc257f03e} TCPHandler: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:18.111042 [ 4593 ] {ca2d49cd-3acf-4de4-95b8-1e0f46500b67} executeQuery: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36630) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:18.112520 [ 4593 ] {ca2d49cd-3acf-4de4-95b8-1e0f46500b67} TCPHandler: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:18.760921 [ 4593 ] {ede5caef-18ba-4b28-87f8-6aebd4e452bc} executeQuery: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36648) (comment: 02477_analyzer_function_hints.sh) (in query: WITH (x -> x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:18.762642 [ 4593 ] {ede5caef-18ba-4b28-87f8-6aebd4e452bc} TCPHandler: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdc4ea in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:19.081777 [ 4593 ] {1b5bf61a-3af4-4b63-a1de-b6f3b9e361a9} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36658) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbf4e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:19.083356 [ 4593 ] {1b5bf61a-3af4-4b63-a1de-b6f3b9e361a9} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x1913768e in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfdbf4e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfba77c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:35.688513 [ 4593 ] {a05d172b-b8a5-4f92-9828-8b49d69f0b4b} executeQuery: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57752) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'null UInt32') settings input_format_null_as_default=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5d620 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:35.690044 [ 4593 ] {a05d172b-b8a5-4f92-9828-8b49d69f0b4b} TCPHandler: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5d620 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:40.560178 [ 4593 ] {3638636a-0ce3-416c-9ff7-60bbb26891a8} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57844) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x1fa68967 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e5e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:40.561681 [ 4593 ] {3638636a-0ce3-416c-9ff7-60bbb26891a8} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x1fa68967 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e5e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:40.899331 [ 4593 ] {ed874fa7-2a16-49b3-b5f2-6c4745a93cbc} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57848) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64, b String)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x1fa68967 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e5e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:40.900989 [ 4593 ] {ed874fa7-2a16-49b3-b5f2-6c4745a93cbc} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x1fa68967 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e5e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:43.182576 [ 4593 ] {276c96fb-e5c4-4bdb-a9e8-127265e86f7e} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57894) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e4ff in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:43.184215 [ 4593 ] {276c96fb-e5c4-4bdb-a9e8-127265e86f7e} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e4ff in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:43.767198 [ 4593 ] {c7d1dc2e-2af9-4ffd-9dd3-d48e91a47216} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57908) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64, String, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0xcef6f1a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e79c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:43.768712 [ 4593 ] {c7d1dc2e-2af9-4ffd-9dd3-d48e91a47216} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow): (at row 1) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0xcef6f1a in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5e79c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:644: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b4f3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:44.860414 [ 4593 ] {fc0a0de6-3fcf-428d-96a1-68abfb40d229} executeQuery: Code: 44. DB::Exception: Only maps with String key type are supported in BSON, got key type: UInt64. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43892) (comment: 02475_bson_each_row_format.sh) (in query: insert into function file(02475_data.bsonEachRow, auto, 'map Map(UInt64, UInt64)') select map(1, number, 2, number + 1) from numbers(5) settings engine_file_truncate_on_insert=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowOutputFormat.cpp:0: DB::BSONEachRowRowOutputFormat::countBSONFieldSize(DB::IColumn const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa75e44 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowOutputFormat.cpp:520: DB::BSONEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x1fa78958 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowOutputFormat.cpp:32: DB::IRowOutputFormat::consume(DB::Chunk) @ 0x1f9c9e13 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x1fb395e9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3af98 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:44.862419 [ 4593 ] {fc0a0de6-3fcf-428d-96a1-68abfb40d229} TCPHandler: Code: 44. DB::Exception: Only maps with String key type are supported in BSON, got key type: UInt64. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowOutputFormat.cpp:0: DB::BSONEachRowRowOutputFormat::countBSONFieldSize(DB::IColumn const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa75e44 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowOutputFormat.cpp:520: DB::BSONEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x1fa78958 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowOutputFormat.cpp:32: DB::IRowOutputFormat::consume(DB::Chunk) @ 0x1f9c9e13 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x1fb395e9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fb3af98 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x147fe4ea in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x14802f18 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x14802e82 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:45.788807 [ 4593 ] {69760395-24da-4d1d-8fad-b72d0a585a9d} executeQuery: Code: 44. DB::Exception: Only maps with String key type are supported in BSON, got key type: UInt64: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43900) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'map Map(UInt64, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readMap(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5eeb3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:649: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b66f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:45.790268 [ 4593 ] {69760395-24da-4d1d-8fad-b72d0a585a9d} TCPHandler: Code: 44. DB::Exception: Only maps with String key type are supported in BSON, got key type: UInt64: While executing BSONEachRowRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readMap(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5eeb3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:649: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b66f in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:52.592242 [ 4593 ] {3eb119bb-b070-411f-a18f-c0a929a17073} executeQuery: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44084) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:52.593590 [ 4593 ] {3eb119bb-b070-411f-a18f-c0a929a17073} TCPHandler: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:55.581555 [ 4593 ] {39f15d8b-33fe-4622-ad13-a2a8c8700d94} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36562) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:55.582945 [ 4593 ] {39f15d8b-33fe-4622-ad13-a2a8c8700d94} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:56.217179 [ 4593 ] {136966ed-4d01-483e-a5c2-1c804ae410e7} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36568) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:56.218581 [ 4593 ] {136966ed-4d01-483e-a5c2-1c804ae410e7} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:56.860335 [ 4593 ] {391b6929-2f6a-4fb7-b743-b683d3b9da61} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36582) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:56.861613 [ 4593 ] {391b6929-2f6a-4fb7-b743-b683d3b9da61} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:57.504332 [ 4593 ] {edf0fd5e-a074-44fa-9bfb-3fd6e4795838} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36604) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:57.505752 [ 4593 ] {edf0fd5e-a074-44fa-9bfb-3fd6e4795838} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x181fba51 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:32: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x1fa6ba72 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6ebf5 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:58.491503 [ 4593 ] {7daec0c4-317d-4034-a1c1-ac3175c3130e} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36628) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:08:58.493843 [ 4593 ] {7daec0c4-317d-4034-a1c1-ac3175c3130e} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x1fa706d9 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x1fa700a3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x1fa6e7d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979aea in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:00.104804 [ 4593 ] {10fb7d43-85d0-472d-a889-0c4e25f39e05} executeQuery: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (in file/uri /var/lib/clickhouse/user_files/data.bsonEachRow): (at row 4) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36652) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(data.bsonEachRow, auto, 'number UInt64, int Int128, arr Array(UInt64)') settings input_format_allow_errors_num=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x131e8cda in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa60216 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:559: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b7eb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:00.106341 [ 4593 ] {10fb7d43-85d0-472d-a889-0c4e25f39e05} TCPHandler: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (in file/uri /var/lib/clickhouse/user_files/data.bsonEachRow): (at row 4) : While executing BSONEachRowRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x131e8cda in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa60216 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:559: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x1fa5b7eb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x1fa64d39 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x1fa49a4f in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec5928f in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:36.810847 [ 4593 ] {f1ca827d-0f6d-40b2-9906-ab792da7af14} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44016) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbfb43 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:36.811725 [ 4593 ] {f1ca827d-0f6d-40b2-9906-ab792da7af14} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfbfb43 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x1dfb9225 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfc7e05 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb1520 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:37.015420 [ 4593 ] {a59bcf2b-06c0-479c-9746-e5e4b9c574be} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44016) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_unknown_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb459f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:37.016335 [ 4593 ] {a59bcf2b-06c0-479c-9746-e5e4b9c574be} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0xd65dcdd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x1dfb459f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x1dfae808 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:174: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x1dfabbfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1e1242e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x1e122c21 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e069333 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:41.894769 [ 4593 ] {dc10af1f-a553-4693-8d2a-a3c053f806fd} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44028) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:41.895665 [ 4593 ] {dc10af1f-a553-4693-8d2a-a3c053f806fd} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:42.373221 [ 4593 ] {9780cfff-13b3-4679-b2ff-96f483f07eae} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44038) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:0: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x1fab41f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x1faaee7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x1fab2d22 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x1fab1e97 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/FormatFactory.cpp:0: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x1f95d11a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x1f95b506 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x1d1e8063 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec58f2f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:42.374225 [ 4593 ] {9780cfff-13b3-4679-b2ff-96f483f07eae} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:0: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x1fab41f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x1faaee7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x1fab2d22 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x1fab1e97 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/FormatFactory.cpp:0: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x1f95d11a in /usr/bin/clickhouse 8. ./build_docker/./src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x1f95b506 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x1d1e8063 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x1ec58f2f in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:42.941487 [ 4593 ] {08c53eeb-0fbb-472b-9855-aaefd71aecf5} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44050) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.pb) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3625: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x1fb7083c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x1fb6feab in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:114: DB::ProtobufSchemaReader::readSchema() @ 0x1fc016a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:42.942826 [ 4593 ] {08c53eeb-0fbb-472b-9855-aaefd71aecf5} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3625: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x1fb7083c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x1fb6feab in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:114: DB::ProtobufSchemaReader::readSchema() @ 0x1fc016a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:43.490786 [ 4593 ] {f8d08d3c-24f7-4d21-a34d-97e69fe6c6cf} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44060) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.capnp) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:565: DB::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x1fabbc5c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoUtils.cpp:628: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x1faba314 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x1fab124f in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:43.492192 [ 4593 ] {f8d08d3c-24f7-4d21-a34d-97e69fe6c6cf} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:565: DB::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x1fabbc5c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoUtils.cpp:628: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x1faba314 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x1fab124f in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/TableFunctionFile.cpp:0: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr) const @ 0x1c1e9ab7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:635: DB::InterpreterDescribeQuery::execute() @ 0x1e073007 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:44.141019 [ 4593 ] {1ddb5218-0c41-4fdc-915a-d42ce80a0d0f} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44062) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_protobuf engine=File(Protobuf) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3625: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x1fb7083c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x1fb6feab in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:114: DB::ProtobufSchemaReader::readSchema() @ 0x1fc016a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x1ec4a36a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x1ec62121 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec547cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:44.142548 [ 4593 ] {1ddb5218-0c41-4fdc-915a-d42ce80a0d0f} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3625: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x1fb7083c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x1fb6feab in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:114: DB::ProtobufSchemaReader::readSchema() @ 0x1fc016a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x1ec4a36a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x1ec62121 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec547cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:44.790628 [ 4593 ] {ff531aec-5cbc-499c-93ac-03e8ddf9a476} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49698) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_capnp engine=File(CapnProto) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:565: DB::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x1fabbc5c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoUtils.cpp:628: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x1faba314 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x1fab124f in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x1ec4a36a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x1ec62121 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec547cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:44.792082 [ 4593 ] {ff531aec-5cbc-499c-93ac-03e8ddf9a476} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0xc6b17a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoUtils.cpp:565: DB::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x1fabbc5c in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoUtils.cpp:628: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x1faba314 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x1fab124f in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x1f979621 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x1f97b115 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x1ec47a5a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x1ec497cb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x1ec4a36a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x1ec62121 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ec547cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 27. ? @ 0x7f8b832b7609 in ? 28. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:48.745404 [ 4593 ] {45ae06ec-2ec9-4940-a335-43daea754c3b} executeQuery: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49806) (comment: 02302_s3_file_pruning.sql) (in query: select * from test_02302;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0xcefa042 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1064: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ee9146d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:48.746178 [ 4593 ] {45ae06ec-2ec9-4940-a335-43daea754c3b} TCPHandler: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0xcefa042 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1064: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ee9146d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:50.925837 [ 4593 ] {407cb56d-f00b-4da6-972a-fb8e15fcf3b4} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49820) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:09:50.926579 [ 4593 ] {407cb56d-f00b-4da6-972a-fb8e15fcf3b4} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:05.120859 [ 4593 ] {853d1b77-5385-4a88-96ce-3ef5b52b39c6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39484) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:05.121661 [ 4593 ] {853d1b77-5385-4a88-96ce-3ef5b52b39c6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:09.120753 [ 4593 ] {f04b6e36-17a3-4f20-b892-25fb09d97b05} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39558) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:09.121946 [ 4593 ] {f04b6e36-17a3-4f20-b892-25fb09d97b05} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:51.848818 [ 4593 ] {99e6946f-b7a3-4a8b-82e9-476b2ebbd7e4} executeQuery: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 02:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52118) (comment: 02246_async_insert_quota.sh) (in query: INSERT INTO async_inserts_02246 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x1c719531 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:0: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x1c71905b in /usr/bin/clickhouse 4. ./build_docker/./src/Access/EnabledQuota.cpp:67: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x1c718d06 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/detail/shared_count.hpp:432: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x1c716f7f in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x1c716e39 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a09e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:10:51.850077 [ 4593 ] {99e6946f-b7a3-4a8b-82e9-476b2ebbd7e4} TCPHandler: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 02:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x1c719531 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:0: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x1c71905b in /usr/bin/clickhouse 4. ./build_docker/./src/Access/EnabledQuota.cpp:67: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x1c718d06 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/detail/shared_count.hpp:432: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x1c716f7f in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x1c716e39 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a09e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:22.009067 [ 4593 ] {a5f7d534-a6a0-4e41-a942-e906c2ad5ba9} executeQuery: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query it's necessary to have grant SELECT(n) ON test_3ogwmiq0.test. (ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43492) (comment: 02243_drop_user_grant_race.sh) (in query: SELECT * FROM test), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6da1e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x1c6d8ec5 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:683: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x1c692dad in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x1d1f47d2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x1d1cb632 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0bb4a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:22.010538 [ 4593 ] {a5f7d534-a6a0-4e41-a942-e906c2ad5ba9} TCPHandler: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query it's necessary to have grant SELECT(n) ON test_3ogwmiq0.test. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6da1e7 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x1c6d8ec5 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:683: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x1c692dad in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x1d1f47d2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x1d1cb632 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0bb4a8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 24. ? @ 0x7f8b832b7609 in ? 25. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:28.966681 [ 4593 ] {0ac728d9-8b23-4021-9ddb-abe56c868227} executeQuery: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query it's necessary to have grant URL ON *.*. (ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44282) (comment: 02184_table_engine_access.sh) (in query: CREATE TABLE t AS url), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6ca933 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c975e in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86281 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:28.968224 [ 4593 ] {0ac728d9-8b23-4021-9ddb-abe56c868227} TCPHandler: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query it's necessary to have grant URL ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6ca933 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x1c6c975e in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x1c692972 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x1d1f3582 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x1d1caec1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x1de86281 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1205: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90699 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:33.593554 [ 26902 ] {00639c3a-b17f-4276-8c86-860bbbeda25d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44362) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:11:33.594256 [ 26902 ] {00639c3a-b17f-4276-8c86-860bbbeda25d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:11.759246 [ 4593 ] {5e4388c2-0eab-4a67-bd2a-3e4b3c0f77ba} executeQuery: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44904) (comment: 02102_sql_user_defined_functions_create_if_not_exists.sql) (in query: CREATE FUNCTION 02102_test_function AS x -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x1ffb93b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateFunctionQuery.cpp:0: DB::InterpreterCreateFunctionQuery::execute() @ 0x1e082f27 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:11.760082 [ 4593 ] {5e4388c2-0eab-4a67-bd2a-3e4b3c0f77ba} TCPHandler: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x1ffb93b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateFunctionQuery.cpp:0: DB::InterpreterCreateFunctionQuery::execute() @ 0x1e082f27 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.695142 [ 4593 ] {51317743-e150-4f1b-b56f-1e70c6c75fe6} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44926) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('.'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.696213 [ 4593 ] {51317743-e150-4f1b-b56f-1e70c6c75fe6} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.706053 [ 4593 ] {63f1fe0d-97a0-4d3b-8a64-3f0ce8aebb1c} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44926) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.706913 [ 4593 ] {63f1fe0d-97a0-4d3b-8a64-3f0ce8aebb1c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.714908 [ 4593 ] {2cc9776c-029d-42fb-85c4-283f0a9f9938} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44926) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.715700 [ 4593 ] {2cc9776c-029d-42fb-85c4-283f0a9f9938} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x1e4bafe5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x1e4bf6d0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0be632 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 22. ? @ 0x7f8b832b7609 in ? 23. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.981434 [ 4593 ] {7719662c-01ef-4132-bf7d-66d75d9ccf1d} executeQuery: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44926) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0xcd7f26e in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x1c1c4040 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.h:200: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr) const @ 0x1c1c4541 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1c4a2b in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:12.982738 [ 4593 ] {7719662c-01ef-4132-bf7d-66d75d9ccf1d} TCPHandler: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0xcd7f26e in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x1c1c4040 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.h:200: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr) const @ 0x1c1c4541 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1c4a2b in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:14.824890 [ 4593 ] {6db0dd09-4b8b-45b5-83ad-d64aba278c8e} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59654) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:14.825720 [ 4593 ] {6db0dd09-4b8b-45b5-83ad-d64aba278c8e} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:23.532036 [ 4593 ] {a94029ab-93bd-4f83-a342-5c1b28618c38} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59692) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:23.532966 [ 4593 ] {a94029ab-93bd-4f83-a342-5c1b28618c38} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:24.997047 [ 2337 ] {e813f6a2-b761-44e4-ba55-ce66aeb2ede3} ExternalDictionariesLoader: Could not load external dictionary '444b2dfa-354c-4384-9282-17e37c3ecea0', next update is scheduled at 2024-03-19 13:13:30: Code: 1. DB::Exception: test_jx9ji2sr.ip_trie_dictionary (444b2dfa-354c-4384-9282-17e37c3ecea0): array or nullable attributes not supported for dictionary of type Trie. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_5::operator()(std::vector> const&) const @ 0x18af1fb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:359: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x18aeb891 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b16007 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:13:24.999389 [ 4593 ] {e813f6a2-b761-44e4-ba55-ce66aeb2ede3} executeQuery: Code: 1. DB::Exception: test_jx9ji2sr.ip_trie_dictionary (444b2dfa-354c-4384-9282-17e37c3ecea0): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:59708) (comment: 01904_dictionary_default_nullable_type.sql) (in query: SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0')));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_5::operator()(std::vector> const&) const @ 0x18af1fb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:359: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x18aeb891 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b16007 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:25.000375 [ 4593 ] {e813f6a2-b761-44e4-ba55-ce66aeb2ede3} TCPHandler: Code: 1. DB::Exception: test_jx9ji2sr.ip_trie_dictionary (444b2dfa-354c-4384-9282-17e37c3ecea0): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_5::operator()(std::vector> const&) const @ 0x18af1fb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:359: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x18aeb891 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b16007 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:26.744942 [ 4593 ] {1ea8c59f-0ac5-4d7c-903b-309104ddadcc} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58902) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:26.745678 [ 4593 ] {1ea8c59f-0ac5-4d7c-903b-309104ddadcc} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:27.801089 [ 4593 ] {b358dcc9-2489-407e-8fb0-a30f290a0e93} executeQuery: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58914) (comment: 01854_dictionary_range_hashed_min_max_attr.sql) (in query: CREATE DICTIONARY dict_01864 ( `id` UInt64, `value` String ) PRIMARY KEY id SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() TABLE 'does_not_exists')) LIFETIME(MIN 0 MAX 1000) LAYOUT(RANGE_HASHED()) RANGE(MIN first MAX last) -- { serverError 489 } ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x1c633687 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ebfd6ff in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:27.801980 [ 4593 ] {b358dcc9-2489-407e-8fb0-a30f290a0e93} TCPHandler: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x1c633687 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1ebfd6ff in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:32.710215 [ 4593 ] {3de4c760-7f6a-4453-b6db-f6e6e08c8c08} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58942) (comment: 01825_type_json_multiple_files.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:32.711495 [ 4593 ] {3de4c760-7f6a-4453-b6db-f6e6e08c8c08} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:41.327406 [ 37949 ] {b6330d80-2f08-4ce3-a3fc-046756f6b69a} ExternalDictionariesLoader: Could not load external dictionary '217c356a-986d-47b1-9bc8-bcd78f46c28a', next update is scheduled at 2024-03-19 13:13:46: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:13:41.329033 [ 4593 ] {b6330d80-2f08-4ce3-a3fc-046756f6b69a} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52342) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:41.330138 [ 4593 ] {b6330d80-2f08-4ce3-a3fc-046756f6b69a} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:41.356403 [ 38083 ] {050189f7-364a-4d99-a4f0-72af9cf3c4cc} ExternalDictionariesLoader: Could not load external dictionary '2dd2b602-61dd-4c0e-981f-b45c9fbf6094', next update is scheduled at 2024-03-19 13:13:46: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:13:41.357717 [ 4593 ] {050189f7-364a-4d99-a4f0-72af9cf3c4cc} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52342) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM 01780_db.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:41.358843 [ 4593 ] {050189f7-364a-4d99-a4f0-72af9cf3c4cc} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0xc68f022 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:289: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x18a6d6f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x1c62388f in /usr/bin/clickhouse 5. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61efd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:44.064194 [ 4593 ] {42eb3365-f9d3-436b-b21f-8d80ffb2fb3f} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52366) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.065229 [ 4593 ] {42eb3365-f9d3-436b-b21f-8d80ffb2fb3f} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.072832 [ 4593 ] {59c8d517-f802-4e6d-ba53-58b160bbe5f8} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52366) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.073683 [ 4593 ] {59c8d517-f802-4e6d-ba53-58b160bbe5f8} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.080116 [ 4593 ] {88ac26ae-9284-4b2d-b34a-378e17c463f3} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52366) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.080941 [ 4593 ] {88ac26ae-9284-4b2d-b34a-378e17c463f3} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x143c7842 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917196c in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.380447 [ 4593 ] {c1640b1d-5106-471a-888b-f41658f08d53} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52366) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0xcefa042 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917198e in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:44.381509 [ 4593 ] {c1640b1d-5106-471a-888b-f41658f08d53} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0xcefa042 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x1917198e in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191711d9 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 2024.03.19 13:13:47.028675 [ 4593 ] {fb03a076-7880-40a9-bd3a-b316b73d9c0c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44606) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:47.029400 [ 4593 ] {fb03a076-7880-40a9-bd3a-b316b73d9c0c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:50.876470 [ 4593 ] {e12418be-78f5-4de4-8e6a-42e19fa7baa1} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44646) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:50.877234 [ 4593 ] {e12418be-78f5-4de4-8e6a-42e19fa7baa1} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ec4ce34 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x1ebc196c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x1e0cfcfd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x1e0c6dfb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e0c50a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x1e182605 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:380: DB::InterpreterSelectWithUnionQuery::execute() @ 0x1e1834b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:13:53.535318 [ 4593 ] {7ebf63c9-ddf0-462e-aad5-1926407e517c} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44728) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('nonexist.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61c54 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:13:53.537164 [ 4593 ] {7ebf63c9-ddf0-462e-aad5-1926407e517c} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional) @ 0x147552aa in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61c54 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 2024.03.19 13:13:54.125705 [ 4593 ] {c74f9a76-bde6-47c8-a86d-6a91102a7a9c} executeQuery: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44738) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('dir'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x147573c9 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBuffer.h:67: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x14782329 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x14782229 in /usr/bin/clickhouse 7. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61d5c in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:13:54.127265 [ 4593 ] {c74f9a76-bde6-47c8-a86d-6a91102a7a9c} TCPHandler: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x146e7526 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x146e2217 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x147573c9 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBuffer.h:67: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x14782329 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x14782229 in /usr/bin/clickhouse 7. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61d5c in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 2024.03.19 13:13:54.739696 [ 4593 ] {9ffc7dd0-a00c-4374-956a-788d11a91efb} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44754) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('/tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:13:54.741321 [ 4593 ] {9ffc7dd0-a00c-4374-956a-788d11a91efb} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:13:55.057874 [ 4593 ] {48d5b85b-11df-447b-bc2b-61091512502c} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55090) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:13:55.059392 [ 4593 ] {48d5b85b-11df-447b-bc2b-61091512502c} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:13:55.387837 [ 4593 ] {71affcfe-b4db-4dc9-a010-66d20bf389ac} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55098) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../a.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:13:55.389364 [ 4593 ] {71affcfe-b4db-4dc9-a010-66d20bf389ac} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcc61fee in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x1d092c4f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x1d092040 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d355c8f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x1d366b1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d358d53 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356474 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d36196b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:749: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x1d356575 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x1d34a44f in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x1d31e7c6 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x1d32d164 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d334bec in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 2024.03.19 13:14:02.570141 [ 4593 ] {24a87cbd-26b1-47da-9150-5ade13d66c28} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:55128) (comment: 01656_test_query_log_factories_info.sql) (in query: SELECT repeat('aa', number) FROM numbers(10e3) SETTINGS max_memory_usage=4e6, max_block_size=100 FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc6aa586 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x132a1961 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:02.571046 [ 4593 ] {24a87cbd-26b1-47da-9150-5ade13d66c28} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc6aa586 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x132a1961 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 25. ? @ 0x7f8b832b7609 in ? 26. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.385639 [ 4593 ] {1588df20-02b6-4bcb-9777-fda754195702} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_atomic.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.386486 [ 4593 ] {1588df20-02b6-4bcb-9777-fda754195702} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.590063 [ 4593 ] {8e6a62c6-245d-48a5-9c77-8578c8eaa3f3} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.590812 [ 4593 ] {8e6a62c6-245d-48a5-9c77-8578c8eaa3f3} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.594986 [ 4593 ] {891776c2-819c-438e-8909-400fe824c935} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.595583 [ 4593 ] {891776c2-819c-438e-8909-400fe824c935} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.605394 [ 4593 ] {c90f8764-74a3-4296-a6d3-ddd727d128be} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.605955 [ 4593 ] {c90f8764-74a3-4296-a6d3-ddd727d128be} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.801887 [ 4593 ] {09592a79-5533-4161-8f9e-df9326600bc9} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_atomic.test_name_rename_attempt TO test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.802681 [ 4593 ] {09592a79-5533-4161-8f9e-df9326600bc9} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.990649 [ 4593 ] {ae25ca85-9da3-4309-b5c9-8e7db8d7351f} executeQuery: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: EXCHANGE TABLES test1601_detach_permanently_atomic.test_name_rename_attempt AND test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:06.991580 [ 4593 ] {ae25ca85-9da3-4309-b5c9-8e7db8d7351f} TCPHandler: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.017604 [ 4593 ] {ee2442a3-b620-4eba-b1c4-3f15f7ed02e8} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse ; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:14:07.215495 [ 4593 ] {ee2442a3-b620-4eba-b1c4-3f15f7ed02e8} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: ATTACH TABLE test1601_detach_permanently_atomic.test_name_reuse UUID '00000000-0000-0000-0000-000000000001' (`number` UInt64 ) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192 ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0xcd607de in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1ced33b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de98616 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.216314 [ 4593 ] {ee2442a3-b620-4eba-b1c4-3f15f7ed02e8} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0xcd607de in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x1ced33b6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de98616 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.279567 [ 4593 ] {944ddbf7-a8b9-4005-baaa-040180656787} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.280216 [ 4593 ] {944ddbf7-a8b9-4005-baaa-040180656787} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.366209 [ 4593 ] {bc938278-38dc-4aa4-b49c-ddc597e25e01} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.366784 [ 4593 ] {bc938278-38dc-4aa4-b49c-ddc597e25e01} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.470543 [ 4593 ] {500d1e52-595b-44b8-8e58-783db82d96f8} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_ordinary.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.471192 [ 4593 ] {500d1e52-595b-44b8-8e58-783db82d96f8} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.480943 [ 4593 ] {b98126f3-05b5-4aa0-86fc-a53300b6b502} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.481573 [ 4593 ] {b98126f3-05b5-4aa0-86fc-a53300b6b502} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.484665 [ 4593 ] {d0672844-b386-4c12-a5bc-ff01f08928be} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.485191 [ 4593 ] {d0672844-b386-4c12-a5bc-ff01f08928be} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.494905 [ 4593 ] {f64a080d-cf32-4a74-911e-e0f570143863} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.495475 [ 4593 ] {f64a080d-cf32-4a74-911e-e0f570143863} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.701892 [ 4593 ] {cd135260-cd2d-4068-9f58-6f0a754e3031} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_ordinary.test_name_rename_attempt TO test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced7a2a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.702684 [ 4593 ] {cd135260-cd2d-4068-9f58-6f0a754e3031} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced7a2a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.724274 [ 4593 ] {76ae91f9-2969-4d66-a6e4-a846e447cfb7} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:14:07.767312 [ 4593 ] {d628fe17-7743-4c9f-a8d0-d7be8838a204} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.767969 [ 4593 ] {d628fe17-7743-4c9f-a8d0-d7be8838a204} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.830407 [ 4593 ] {364b0626-e447-4aed-8c3f-6d63ead6fd08} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:07.831103 [ 4593 ] {364b0626-e447-4aed-8c3f-6d63ead6fd08} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.115397 [ 4593 ] {5173c49a-a3fc-4e44-bfb2-1cb1904c179c} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_ordinary;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x121d786d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x1cedb0b3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1645: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x1d2904b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x1df5e9ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x1df5afcb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x1df5a694 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.116247 [ 4593 ] {5173c49a-a3fc-4e44-bfb2-1cb1904c179c} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x121d786d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x1cedb0b3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1645: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x1d2904b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x1df5e9ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x1df5afcb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x1df5a694 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.191703 [ 4593 ] {a3b2b4e8-05db-4360-8b9f-c24cd3f34dfd} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_lazy.test_name_reuse (number UInt64) engine=Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.192356 [ 4593 ] {a3b2b4e8-05db-4360-8b9f-c24cd3f34dfd} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de96f7e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.200689 [ 4593 ] {c736b9c9-300e-49a3-a73f-a2984174c10a} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.201307 [ 4593 ] {c736b9c9-300e-49a3-a73f-a2984174c10a} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.204284 [ 4593 ] {203a6558-3132-4a39-964b-e585d2012b4e} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.204787 [ 4593 ] {203a6558-3132-4a39-964b-e585d2012b4e} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.212963 [ 4593 ] {f74abb74-48c0-4914-b9b3-6068632b9c32} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.213515 [ 4593 ] {f74abb74-48c0-4914-b9b3-6068632b9c32} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.421118 [ 4593 ] {dffff29c-3977-4925-9ead-8b6dca850af5} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_lazy.test_name_rename_attempt TO test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced7a2a in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:95: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1df2aad9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.421900 [ 4593 ] {dffff29c-3977-4925-9ead-8b6dca850af5} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x1ced6fd5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x1ced6c30 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced7a2a in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:95: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1df2aad9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.442606 [ 4593 ] {1350a7b4-c052-47f7-a19a-a74dfb2b5f1c} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:14:08.467219 [ 4593 ] {ea6d8780-92f7-4e09-a0dd-90ada1a6b8f6} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.467866 [ 4593 ] {ea6d8780-92f7-4e09-a0dd-90ada1a6b8f6} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.510444 [ 4593 ] {8e23cf62-595a-45dc-849a-b04c94756b29} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.511038 [ 4593 ] {8e23cf62-595a-45dc-849a-b04c94756b29} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:806: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2943e4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5b811 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.536625 [ 4593 ] {fed13bab-0eff-44eb-953b-2cda73987510} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34948) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_lazy;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x121d786d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x1cedb0b3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1645: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x1d2904b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x1df5e9ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x1df5afcb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x1df5a694 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:08.537170 [ 4593 ] {fed13bab-0eff-44eb-953b-2cda73987510} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x121d786d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x1cedb0b3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1645: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x1d2904b6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x1df5e9ba in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x1df5afcb in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x1df5a694 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:11.853362 [ 4593 ] {01600_log_queries_with_extensive_info_004_err} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34994) (comment: 01600_log_queries_with_extensive_info.sh) (in query: select k from test_log_queries.logtable where i > ''), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0xc6e1742 in /usr/bin/clickhouse 3. DB::throwReadAfterEOF() @ 0xc6e1350 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x1ce897cf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ce89318 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xf219784 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf1fe7b4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d33214b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:14:11.854863 [ 4593 ] {01600_log_queries_with_extensive_info_004_err} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0xc6e1742 in /usr/bin/clickhouse 3. DB::throwReadAfterEOF() @ 0xc6e1350 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:68: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x1ce897cf in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:436: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x1ce89318 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0xc690043 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e57b2a9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x1e578d1a in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0xf219784 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xf1fe7b4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x1d33214b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x1e0c9975 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x1e0c1141 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0ba9ee in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 2024.03.19 13:14:24.135208 [ 42575 ] {169ea7ba-aef4-4c38-9ffd-b450dcb49c4f} executeQuery: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:52342) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:24.137461 [ 42575 ] {169ea7ba-aef4-4c38-9ffd-b450dcb49c4f} TCPHandler: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:24.140396 [ 889 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 28 (trying to mutate part 28_0_0_0 to 1) 2024.03.19 13:14:24.140663 [ 893 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 27 (trying to mutate part 27_0_0_0 to 1) 2024.03.19 13:14:25.376567 [ 4593 ] {7843d52e-e686-4294-8b15-e7dd67fc0e23} executeQuery: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34386) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:25.378011 [ 4593 ] {7843d52e-e686-4294-8b15-e7dd67fc0e23} TCPHandler: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:25.383310 [ 883 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 35 (trying to mutate part 35_0_0_0 to 2) 2024.03.19 13:14:25.383518 [ 886 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 34 (trying to mutate part 34_0_0_0 to 2) 2024.03.19 13:14:27.060048 [ 889 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 58 (trying to mutate part 58_0_0_0 to 3) 2024.03.19 13:14:27.061000 [ 4593 ] {4a9efde1-9ee2-4513-9409-3066cf8e2ac9} executeQuery: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34420) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:27.062504 [ 4593 ] {4a9efde1-9ee2-4513-9409-3066cf8e2ac9} TCPHandler: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:27.668676 [ 891 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 57 (trying to mutate part 57_0_0_0 to 3) 2024.03.19 13:14:28.675736 [ 883 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 36 (trying to mutate part 36_0_0_0_3 to 4) 2024.03.19 13:14:28.676425 [ 4593 ] {af6b8906-dbac-4076-98ab-0ec906d7b039} executeQuery: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34446) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:28.677527 [ 4593 ] {af6b8906-dbac-4076-98ab-0ec906d7b039} TCPHandler: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:29.355930 [ 892 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 4 not found in partition ID 35 (trying to mutate part 35_0_0_0_3) 2024.03.19 13:14:30.376653 [ 4593 ] {3da4719d-5de2-456a-a751-35fc99c05a8a} executeQuery: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34474) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:30.378279 [ 4593 ] {3da4719d-5de2-456a-a751-35fc99c05a8a} TCPHandler: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:30.379221 [ 893 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 6 (trying to mutate part 6_0_0_0 to 5) 2024.03.19 13:14:30.379356 [ 881 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 58 (trying to mutate part 58_0_0_0_3 to 5) 2024.03.19 13:14:31.022702 [ 891 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 5 not found in partition ID 59 (trying to mutate part 59_0_0_0) 2024.03.19 13:14:32.048267 [ 892 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 49 (trying to mutate part 49_0_0_0_5 to 6) 2024.03.19 13:14:32.053257 [ 4593 ] {b056ef20-7e08-46a4-8bed-aaa3a1359d8c} executeQuery: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34494) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:32.055510 [ 4593 ] {b056ef20-7e08-46a4-8bed-aaa3a1359d8c} TCPHandler: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:32.720523 [ 894 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 6 not found in partition ID 48 (trying to mutate part 48_0_0_0_5) 2024.03.19 13:14:33.670960 [ 4593 ] {88adbdce-399f-4167-8fce-eecc3cf41545} executeQuery: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34524) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:33.672016 [ 879 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 48 (trying to mutate part 48_0_0_0_6 to 7) 2024.03.19 13:14:33.672509 [ 4593 ] {88adbdce-399f-4167-8fce-eecc3cf41545} TCPHandler: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:33.869720 [ 880 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 47 (trying to mutate part 47_0_0_0_6 to 7) 2024.03.19 13:14:35.281907 [ 887 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 55 (trying to mutate part 55_0_0_0_5 to 8) 2024.03.19 13:14:35.283285 [ 4593 ] {3e999d08-c875-4056-be65-8e2aec2fdd35} executeQuery: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34566) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:35.284980 [ 4593 ] {3e999d08-c875-4056-be65-8e2aec2fdd35} TCPHandler: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:35.796861 [ 894 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 54 (trying to mutate part 54_0_0_0_5 to 8) 2024.03.19 13:14:36.942839 [ 883 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 4 (trying to mutate part 4_0_0_0_8 to 9) 2024.03.19 13:14:36.946492 [ 4593 ] {c7732600-f4a8-4119-9787-9ccce3d9eda9} executeQuery: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49822) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:36.951581 [ 4593 ] {c7732600-f4a8-4119-9787-9ccce3d9eda9} TCPHandler: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:36.959873 [ 886 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 38 (trying to mutate part 38_0_0_0_8 to 9) 2024.03.19 13:14:36.960081 [ 893 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 39 (trying to mutate part 39_0_0_0_8 to 9) 2024.03.19 13:14:38.599706 [ 4593 ] {ff0ec24d-1c26-4610-9a71-31c83a4466af} executeQuery: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49866) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:38.601304 [ 4593 ] {ff0ec24d-1c26-4610-9a71-31c83a4466af} TCPHandler: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:38.612174 [ 879 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 52 (trying to mutate part 52_0_0_0_8 to 10) 2024.03.19 13:14:38.701344 [ 883 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 50 (trying to mutate part 50_0_0_0_8 to 10) 2024.03.19 13:14:38.703541 [ 887 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 51 (trying to mutate part 51_0_0_0_8 to 10) 2024.03.19 13:14:40.227024 [ 893 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 46 (trying to mutate part 46_0_0_0_10 to 11) 2024.03.19 13:14:40.228650 [ 4593 ] {139dadd5-5926-42e5-9164-23a64f901307} executeQuery: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49902) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:40.230228 [ 4593 ] {139dadd5-5926-42e5-9164-23a64f901307} TCPHandler: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:40.244469 [ 886 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 44 (trying to mutate part 44_0_0_0_10 to 11) 2024.03.19 13:14:40.244634 [ 885 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 45 (trying to mutate part 45_0_0_0_10 to 11) 2024.03.19 13:14:41.835673 [ 4593 ] {a519530b-ccf6-4d2e-bf53-6964389c0f50} executeQuery: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49946) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:41.836682 [ 884 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 3 (trying to mutate part 3_0_0_0_11 to 12) 2024.03.19 13:14:41.837662 [ 4593 ] {a519530b-ccf6-4d2e-bf53-6964389c0f50} TCPHandler: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:41.848811 [ 882 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 28 (trying to mutate part 28_0_0_0_11 to 12) 2024.03.19 13:14:41.848914 [ 892 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 29 (trying to mutate part 29_0_0_0_11 to 12) 2024.03.19 13:14:43.478291 [ 4593 ] {923ab420-ae21-4799-b82c-729ff376efee} executeQuery: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49978) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:43.479758 [ 4593 ] {923ab420-ae21-4799-b82c-729ff376efee} TCPHandler: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:43.480447 [ 892 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 53 (trying to mutate part 53_0_0_0_8 to 13) 2024.03.19 13:14:43.480682 [ 890 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 51 (trying to mutate part 51_0_0_0_10 to 13) 2024.03.19 13:14:43.893406 [ 893 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 52 (trying to mutate part 52_0_0_0_10 to 13) 2024.03.19 13:14:45.090508 [ 4593 ] {94110a35-f7cb-4023-a80a-4649e815e207} executeQuery: Code: 341. DB::Exception: Mutation 0000000013 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50018) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:45.092092 [ 4593 ] {94110a35-f7cb-4023-a80a-4649e815e207} TCPHandler: Code: 341. DB::Exception: Mutation 0000000013 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:45.096627 [ 887 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 49 (trying to mutate part 49_0_0_0_13 to 14) 2024.03.19 13:14:45.096804 [ 882 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 48 (trying to mutate part 48_0_0_0_13 to 14) 2024.03.19 13:14:45.101440 [ 890 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 5 (trying to mutate part 5_0_0_0_13 to 14) 2024.03.19 13:14:46.745643 [ 4593 ] {d94765b0-fd00-40ef-9e7e-de685ac286d2} executeQuery: Code: 341. DB::Exception: Mutation 0000000014 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41494) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:46.747486 [ 4593 ] {d94765b0-fd00-40ef-9e7e-de685ac286d2} TCPHandler: Code: 341. DB::Exception: Mutation 0000000014 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:46.754285 [ 882 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 45 (trying to mutate part 45_0_0_0_14 to 15) 2024.03.19 13:14:46.754441 [ 881 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 44 (trying to mutate part 44_0_0_0_14 to 15) 2024.03.19 13:14:48.357904 [ 881 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 48 (trying to mutate part 48_0_0_0_14 to 16) 2024.03.19 13:14:48.359291 [ 4593 ] {f638ebcd-7aaa-4d2a-8c28-d323b6710f04} executeQuery: Code: 341. DB::Exception: Mutation 0000000015 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41528) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:48.360897 [ 4593 ] {f638ebcd-7aaa-4d2a-8c28-d323b6710f04} TCPHandler: Code: 341. DB::Exception: Mutation 0000000015 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:48.640178 [ 882 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 47 (trying to mutate part 47_0_0_0_14 to 16) 2024.03.19 13:14:50.412440 [ 4593 ] {463c1c89-a21f-48c9-bd63-3d6e7315825c} executeQuery: Code: 341. DB::Exception: Mutation 0000000016 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41556) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:50.413074 [ 882 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 53 (trying to mutate part 53_0_0_0_13 to 17) 2024.03.19 13:14:50.413786 [ 4593 ] {463c1c89-a21f-48c9-bd63-3d6e7315825c} TCPHandler: Code: 341. DB::Exception: Mutation 0000000016 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:52.043029 [ 4593 ] {4e020464-6396-4823-8fd2-62c46d71f0ef} executeQuery: Code: 341. DB::Exception: Mutation 0000000017 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41586) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:52.044695 [ 4593 ] {4e020464-6396-4823-8fd2-62c46d71f0ef} TCPHandler: Code: 341. DB::Exception: Mutation 0000000017 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:546: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x1ed4d493 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x1edd4e82 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd2fc0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:14:52.053251 [ 894 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 44 (trying to mutate part 44_0_0_0_17 to 18) 2024.03.19 13:14:52.053372 [ 889 ] {} test_8pynmy6v.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 43 (trying to mutate part 43_0_0_0_17 to 18) 2024.03.19 13:15:04.105503 [ 4593 ] {5ac0ff0d-dae5-47e7-bb71-e6d9d4e9ca45} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49522) (comment: 01545_system_errors.sh) (in query: SELECT throwIf(1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:04.107631 [ 4593 ] {5ac0ff0d-dae5-47e7-bb71-e6d9d4e9ca45} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:05.452769 [ 42575 ] {9ce5f0bd-56da-4183-bf9a-6ea8f8ceb9dd} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33472) (comment: 01545_system_errors.sh) (in query: SELECT `dummy` FROM `system`.`one` WHERE throwIf(NOT `dummy`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc90e78 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:05.454173 [ 42575 ] {9ce5f0bd-56da-4183-bf9a-6ea8f8ceb9dd} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc90e78 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:05.458477 [ 4593 ] {b9d17467-9835-4494-b921-45c8fb2fb1e2} executeQuery: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc90e78 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42046) (comment: 01545_system_errors.sh) (in query: SELECT * FROM remote('127.2', system.one) where throwIf(not dummy)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:15:05.460782 [ 4593 ] {b9d17467-9835-4494-b921-45c8fb2fb1e2} TCPHandler: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x13434abc in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x1fc90e78 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x1fc90cf5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x1475e607 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x1f7fe2e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806e6e in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:15:10.181776 [ 38560 ] {6ab0c208-38db-4513-ac25-93d2e8a3ee5c} ExternalDictionariesLoader: Could not load external dictionary 'f08ad77e-640a-4a42-bd16-ab934417661e', next update is scheduled at 2024-03-19 13:15:15: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:15:10.184809 [ 43110 ] {e95b8069-d5ee-429d-9787-c12c254b2d51} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42180) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.184906 [ 4593 ] {0282b789-e0de-41db-b1ca-3afc87aa74ff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42132) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.185096 [ 42575 ] {6ab0c208-38db-4513-ac25-93d2e8a3ee5c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42144) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.185073 [ 43108 ] {a6fc45cf-b3ef-4811-a81e-db018e147fcc} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42158) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.185092 [ 43116 ] {27fe5054-7573-4f49-b9be-e0d171fe6854} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42194) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.186017 [ 43111 ] {faba9524-992a-4d4e-9325-296732422f10} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42182) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.186129 [ 43117 ] {73729e28-1f71-42c6-ba99-58079a853e2c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42206) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.186222 [ 43109 ] {70cbca87-a4d7-4e1d-8e4a-7c37782b40e6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42172) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.186936 [ 43110 ] {e95b8069-d5ee-429d-9787-c12c254b2d51} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.187541 [ 43116 ] {27fe5054-7573-4f49-b9be-e0d171fe6854} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.187585 [ 42575 ] {6ab0c208-38db-4513-ac25-93d2e8a3ee5c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.187678 [ 4593 ] {0282b789-e0de-41db-b1ca-3afc87aa74ff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.188174 [ 43117 ] {73729e28-1f71-42c6-ba99-58079a853e2c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.187920 [ 43126 ] {97f83779-6da5-48fe-bd49-80ab5ad3c681} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42252) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.188396 [ 43111 ] {faba9524-992a-4d4e-9325-296732422f10} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.188758 [ 43108 ] {a6fc45cf-b3ef-4811-a81e-db018e147fcc} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.189427 [ 43109 ] {70cbca87-a4d7-4e1d-8e4a-7c37782b40e6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.190137 [ 43123 ] {25f00366-2f44-41d9-aedc-35ec91c91c7b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42236) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.190270 [ 43120 ] {b67cf30f-ff4b-4fa9-b3a8-bb4aa3abb570} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42220) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.191320 [ 43126 ] {97f83779-6da5-48fe-bd49-80ab5ad3c681} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.191287 [ 43127 ] {896756f9-b030-424e-b53b-9991bd676bdf} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42268) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.192255 [ 43120 ] {b67cf30f-ff4b-4fa9-b3a8-bb4aa3abb570} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.193220 [ 43123 ] {25f00366-2f44-41d9-aedc-35ec91c91c7b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.193675 [ 43127 ] {896756f9-b030-424e-b53b-9991bd676bdf} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.532105 [ 42575 ] {dfca4977-e93d-4dd1-bda0-f837a05c1705} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42282) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.533587 [ 42575 ] {dfca4977-e93d-4dd1-bda0-f837a05c1705} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.533823 [ 4593 ] {c1b7ecbc-1ead-482e-9f3e-5b10d704e52a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42280) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.534822 [ 43109 ] {0088162c-e26b-49ac-9b85-d87bf943ba82} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42290) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.535076 [ 4593 ] {c1b7ecbc-1ead-482e-9f3e-5b10d704e52a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.536190 [ 43109 ] {0088162c-e26b-49ac-9b85-d87bf943ba82} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.538788 [ 43111 ] {6b0cf20f-3b3d-457f-b318-8d856e335091} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42308) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.540433 [ 43111 ] {6b0cf20f-3b3d-457f-b318-8d856e335091} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.540649 [ 43108 ] {2cc1b4b6-b425-4e68-946f-3dfb4aa6ef31} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42286) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.540757 [ 43117 ] {89c66ce7-c3a3-45a9-89ee-500a1f10daa0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42310) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.542339 [ 43117 ] {89c66ce7-c3a3-45a9-89ee-500a1f10daa0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.542437 [ 43110 ] {8467d47b-b1a6-46ed-89e0-84f0b9d49209} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42298) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.542534 [ 43116 ] {afd596df-504e-4d93-a5d7-9ad368ba015f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42306) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.542764 [ 43108 ] {2cc1b4b6-b425-4e68-946f-3dfb4aa6ef31} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.544377 [ 43110 ] {8467d47b-b1a6-46ed-89e0-84f0b9d49209} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.544455 [ 43116 ] {afd596df-504e-4d93-a5d7-9ad368ba015f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.553133 [ 43120 ] {f08fa0ea-dc64-434c-83c1-2b99493b4c11} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42320) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.554403 [ 43126 ] {9ec28cc8-d30b-4039-b2aa-c7f90cc32551} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42348) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.555658 [ 43120 ] {f08fa0ea-dc64-434c-83c1-2b99493b4c11} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.556831 [ 43126 ] {9ec28cc8-d30b-4039-b2aa-c7f90cc32551} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.557450 [ 43127 ] {8667196a-6614-4bba-8b6a-a0791941a653} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42350) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.557863 [ 43123 ] {cd8f37b7-f7bf-43bd-9415-04f22e90b371} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42336) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.559875 [ 43123 ] {cd8f37b7-f7bf-43bd-9415-04f22e90b371} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.560018 [ 43127 ] {8667196a-6614-4bba-8b6a-a0791941a653} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.880300 [ 43126 ] {b668c6ff-f8e8-479f-8ba4-c8a30df714da} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42384) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.880996 [ 43120 ] {0245479b-09e2-4c0d-bb32-04ebe4e1f850} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42370) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.881830 [ 43126 ] {b668c6ff-f8e8-479f-8ba4-c8a30df714da} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.882387 [ 43120 ] {0245479b-09e2-4c0d-bb32-04ebe4e1f850} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.882856 [ 43123 ] {f536e64e-7314-4409-baca-6f3c4d1767ab} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42378) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.884255 [ 43123 ] {f536e64e-7314-4409-baca-6f3c4d1767ab} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.886685 [ 43127 ] {c7f1505e-9b11-4539-9436-54922303f14e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42398) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.888332 [ 43127 ] {c7f1505e-9b11-4539-9436-54922303f14e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.889213 [ 43108 ] {04ac207e-149b-4777-ae89-ef730d074005} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42428) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.891908 [ 43108 ] {04ac207e-149b-4777-ae89-ef730d074005} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.896070 [ 4593 ] {23b16401-33fc-4829-8e61-42488705b1ba} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42414) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.898184 [ 42575 ] {ddbffb4d-6bb7-4fa8-8ccd-1a8661ba0996} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42422) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.899002 [ 4593 ] {23b16401-33fc-4829-8e61-42488705b1ba} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.899474 [ 43109 ] {5ea5420b-3e64-4678-baca-0523b2f23ce5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42434) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.900306 [ 42575 ] {ddbffb4d-6bb7-4fa8-8ccd-1a8661ba0996} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.901295 [ 43110 ] {59ffd309-2a46-40a3-a3e3-21691215ae78} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42450) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.901564 [ 43109 ] {5ea5420b-3e64-4678-baca-0523b2f23ce5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.903301 [ 43110 ] {59ffd309-2a46-40a3-a3e3-21691215ae78} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.909261 [ 43120 ] {caf46464-9232-427e-8d5f-ee257dbd31ca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42466) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.911130 [ 43120 ] {caf46464-9232-427e-8d5f-ee257dbd31ca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.914313 [ 43123 ] {833370bd-b923-4ae8-bc27-ecbd1112c401} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42476) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.915823 [ 43123 ] {833370bd-b923-4ae8-bc27-ecbd1112c401} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.915836 [ 43126 ] {e72e48f3-dc8d-4e3f-b1fd-e5794240c82c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42462) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:10.917625 [ 43126 ] {e72e48f3-dc8d-4e3f-b1fd-e5794240c82c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.228916 [ 43120 ] {6e44d0d7-9a3a-4419-a0e5-f9248cb55b16} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42480) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.229089 [ 43123 ] {fcfe5a68-b8c6-4b57-b77e-96cc01ce82b2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42484) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.230445 [ 43120 ] {6e44d0d7-9a3a-4419-a0e5-f9248cb55b16} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.230704 [ 43123 ] {fcfe5a68-b8c6-4b57-b77e-96cc01ce82b2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.238248 [ 4593 ] {92e7e7fb-0047-4314-8e85-7fe80e5d3483} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42502) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.239662 [ 4593 ] {92e7e7fb-0047-4314-8e85-7fe80e5d3483} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.239697 [ 43126 ] {011ecb8a-be96-49c1-9542-a1a4688079d5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42488) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.242232 [ 43126 ] {011ecb8a-be96-49c1-9542-a1a4688079d5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.242610 [ 43127 ] {7a55b751-9621-4018-bc8f-ada37a920b7b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42492) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.243740 [ 43108 ] {0e743fc2-5492-4574-9781-db12d9fc8150} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42524) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.244799 [ 43127 ] {7a55b751-9621-4018-bc8f-ada37a920b7b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.245408 [ 43108 ] {0e743fc2-5492-4574-9781-db12d9fc8150} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.246776 [ 43109 ] {7b984ddb-66ae-4e70-95e8-1616961b32f0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42540) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.248198 [ 43109 ] {7b984ddb-66ae-4e70-95e8-1616961b32f0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.254487 [ 42575 ] {d4cbc51c-1054-41d8-8a0d-4039fd5a9cd8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42518) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.255182 [ 43123 ] {ba471cc7-96a6-4168-accf-3474357e3d4a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42546) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.257831 [ 42575 ] {d4cbc51c-1054-41d8-8a0d-4039fd5a9cd8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.259283 [ 43123 ] {ba471cc7-96a6-4168-accf-3474357e3d4a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.261113 [ 43110 ] {f3407d00-30ba-48be-884f-7284013b6b5f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42560) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.262660 [ 43110 ] {f3407d00-30ba-48be-884f-7284013b6b5f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.266501 [ 43120 ] {a365941e-3824-4c76-8be5-5f19e6ea052e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42554) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.268002 [ 43120 ] {a365941e-3824-4c76-8be5-5f19e6ea052e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.285615 [ 43126 ] {1590d453-c12f-4a1c-a545-23e22dfde28c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42568) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.286867 [ 43126 ] {1590d453-c12f-4a1c-a545-23e22dfde28c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.576127 [ 43120 ] {5b75f515-174f-4aad-a3cb-60c1f5bc8183} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42572) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.579056 [ 43120 ] {5b75f515-174f-4aad-a3cb-60c1f5bc8183} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.589509 [ 43123 ] {35dacf60-1d52-406e-bc23-38afe237cf94} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42578) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.590379 [ 4593 ] {91e03d2e-0fb0-448c-8471-81e07a785965} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42610) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.590976 [ 43123 ] {35dacf60-1d52-406e-bc23-38afe237cf94} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.591899 [ 4593 ] {91e03d2e-0fb0-448c-8471-81e07a785965} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.592766 [ 43126 ] {5c5dc12a-62ac-456a-ae7e-bce15b512fc1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42584) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.595065 [ 43126 ] {5c5dc12a-62ac-456a-ae7e-bce15b512fc1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.597359 [ 42575 ] {2fbc5f93-6518-4ff4-89a8-bf724913ec92} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42624) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.598417 [ 43127 ] {806360a0-6b3b-4fe5-a1fb-9f1a3f265283} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42600) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.598918 [ 42575 ] {2fbc5f93-6518-4ff4-89a8-bf724913ec92} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.601200 [ 43127 ] {806360a0-6b3b-4fe5-a1fb-9f1a3f265283} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.608918 [ 43111 ] {43401d5d-9878-4bf1-adce-b06b5a71d28d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42674) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.610247 [ 43109 ] {16e61db4-be25-41a7-8830-b6b3f2ecc823} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42648) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.610381 [ 43111 ] {43401d5d-9878-4bf1-adce-b06b5a71d28d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.611065 [ 43108 ] {16e18e4d-cde6-4b15-bab8-1ed3727674b5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42632) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.611744 [ 43109 ] {16e61db4-be25-41a7-8830-b6b3f2ecc823} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.612699 [ 43110 ] {1f1b634d-f9d1-4252-ba8a-c7f400a019fb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42664) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.612755 [ 43108 ] {16e18e4d-cde6-4b15-bab8-1ed3727674b5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.613017 [ 4593 ] {66096964-7d83-42e1-a681-d3d13995b914} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42690) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.614088 [ 43110 ] {1f1b634d-f9d1-4252-ba8a-c7f400a019fb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.614357 [ 4593 ] {66096964-7d83-42e1-a681-d3d13995b914} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.617037 [ 43116 ] {dc422c22-05c0-4785-bcd0-793057d2304e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42694) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.618687 [ 43116 ] {dc422c22-05c0-4785-bcd0-793057d2304e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.935630 [ 4593 ] {13af2bdd-87d8-4b47-8b26-135eaa85d14c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42708) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.936868 [ 4593 ] {13af2bdd-87d8-4b47-8b26-135eaa85d14c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.943455 [ 42575 ] {2c2e87ba-0720-490a-a3a2-e8c8b9423e03} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42720) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.944667 [ 42575 ] {2c2e87ba-0720-490a-a3a2-e8c8b9423e03} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.949920 [ 43108 ] {ecdd298e-063c-44c2-ae17-9f4d2d1a9937} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42730) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.951726 [ 43108 ] {ecdd298e-063c-44c2-ae17-9f4d2d1a9937} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.956994 [ 43109 ] {5be2e417-656c-44c5-aabc-28b54098722c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42744) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.958362 [ 43109 ] {5be2e417-656c-44c5-aabc-28b54098722c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.961664 [ 4593 ] {3698faeb-fc1b-414a-b8c9-07c5c4ec869f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42748) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.963453 [ 4593 ] {3698faeb-fc1b-414a-b8c9-07c5c4ec869f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.964238 [ 42575 ] {b0d56ec7-212a-4bca-bb38-d0e4be52f16f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42768) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.965104 [ 43110 ] {1f1dfb69-2dff-4afb-9d8c-049dd312efa2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42766) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.966548 [ 43110 ] {1f1dfb69-2dff-4afb-9d8c-049dd312efa2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.967626 [ 43111 ] {94b0fae3-f9b0-4278-9088-03a1681f04ee} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42756) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.969171 [ 43111 ] {94b0fae3-f9b0-4278-9088-03a1681f04ee} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.970357 [ 42575 ] {b0d56ec7-212a-4bca-bb38-d0e4be52f16f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.973379 [ 43116 ] {91c738be-b7a3-475a-814f-e94b5b82c6ed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42786) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.975675 [ 43116 ] {91c738be-b7a3-475a-814f-e94b5b82c6ed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.977564 [ 43117 ] {7343c1cc-91c2-4f1d-91b7-cd57d2c48763} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42770) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.978950 [ 43117 ] {7343c1cc-91c2-4f1d-91b7-cd57d2c48763} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.980741 [ 43108 ] {9c5f3052-20e9-4e70-8b87-3ad11e475c1f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42802) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.982616 [ 43108 ] {9c5f3052-20e9-4e70-8b87-3ad11e475c1f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.985742 [ 43109 ] {6775e337-a8f2-4514-a0f5-8bf73aed6f43} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42810) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:11.987598 [ 43109 ] {6775e337-a8f2-4514-a0f5-8bf73aed6f43} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.285940 [ 4593 ] {7b0080cc-5410-4c93-9cb2-7883a3241a9b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42818) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.287273 [ 4593 ] {7b0080cc-5410-4c93-9cb2-7883a3241a9b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.290626 [ 42575 ] {e7ba4dc7-9a2e-4d93-a87a-db28be20999a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42832) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.292495 [ 42575 ] {e7ba4dc7-9a2e-4d93-a87a-db28be20999a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.294466 [ 43109 ] {6f92f71c-29c9-4432-ad09-41c34013c510} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42840) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.295958 [ 43109 ] {6f92f71c-29c9-4432-ad09-41c34013c510} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.299634 [ 43110 ] {971f92b8-9687-45dd-9c5a-7ef99bf0cd80} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42860) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.300841 [ 43110 ] {971f92b8-9687-45dd-9c5a-7ef99bf0cd80} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.301569 [ 43108 ] {973120fc-5278-472a-92bc-f62fd2c1b746} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42854) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.303052 [ 43108 ] {973120fc-5278-472a-92bc-f62fd2c1b746} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.304277 [ 43111 ] {f2abf170-7a1f-4ada-8f39-da2608d24bb8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42874) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.306082 [ 43111 ] {f2abf170-7a1f-4ada-8f39-da2608d24bb8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.308016 [ 4593 ] {f24f123b-2a78-483b-9dd3-ed5c29cff9d5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42886) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.308727 [ 43116 ] {7c98aead-afdb-4676-b0d4-c5a4aedc4aa9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42892) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.309315 [ 4593 ] {f24f123b-2a78-483b-9dd3-ed5c29cff9d5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.310534 [ 43116 ] {7c98aead-afdb-4676-b0d4-c5a4aedc4aa9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.324851 [ 42575 ] {6692eee8-8bdc-40b2-868a-9ae88ccfbbbd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42896) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.326216 [ 42575 ] {6692eee8-8bdc-40b2-868a-9ae88ccfbbbd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.327177 [ 43108 ] {3d7d5bba-d4d5-4160-a4ef-1ad1b2b26ab3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42912) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.329251 [ 43108 ] {3d7d5bba-d4d5-4160-a4ef-1ad1b2b26ab3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.329540 [ 43109 ] {16ba12ae-ab19-4cb1-9864-18d04d8cea34} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42928) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.330726 [ 43109 ] {16ba12ae-ab19-4cb1-9864-18d04d8cea34} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.349046 [ 4593 ] {22cf8659-f783-472f-8556-7ffca9566974} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42938) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.350432 [ 4593 ] {22cf8659-f783-472f-8556-7ffca9566974} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.637627 [ 4593 ] {52038e83-3428-42a7-b60c-28bb524bbfed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42942) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.637683 [ 42575 ] {64264f4e-114a-4ad6-8830-2e43f61e689e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42950) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.638487 [ 43108 ] {94922bb1-e6d0-4d68-92cf-90e5d4f3736f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42954) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.639060 [ 4593 ] {52038e83-3428-42a7-b60c-28bb524bbfed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.639089 [ 42575 ] {64264f4e-114a-4ad6-8830-2e43f61e689e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.640034 [ 43108 ] {94922bb1-e6d0-4d68-92cf-90e5d4f3736f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.643133 [ 43109 ] {2a837dc0-4926-49ff-9622-9b47bef100a0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42966) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.644914 [ 43109 ] {2a837dc0-4926-49ff-9622-9b47bef100a0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.646778 [ 43117 ] {9de05647-3fbc-4d46-9e1a-793688450cfb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43012) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.647994 [ 43117 ] {9de05647-3fbc-4d46-9e1a-793688450cfb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.648409 [ 43111 ] {dbdcd876-801a-446a-9562-7b5f9d03b2f1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42992) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.649076 [ 43110 ] {1c2c07bb-ba0b-4822-8256-ca73ce556def} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42976) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.650028 [ 43111 ] {dbdcd876-801a-446a-9562-7b5f9d03b2f1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.650467 [ 43110 ] {1c2c07bb-ba0b-4822-8256-ca73ce556def} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.653147 [ 43116 ] {2a8e96a5-5649-4ca5-a058-91d46fbe054a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43008) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.653512 [ 43120 ] {c302a071-cff7-4d30-a323-efe94d457cda} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43028) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.654624 [ 43120 ] {c302a071-cff7-4d30-a323-efe94d457cda} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.655800 [ 43116 ] {2a8e96a5-5649-4ca5-a058-91d46fbe054a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.661683 [ 4593 ] {571d5606-c18c-49e2-893c-cf5dc1d289cd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43036) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.663644 [ 4593 ] {571d5606-c18c-49e2-893c-cf5dc1d289cd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.664819 [ 42575 ] {640965ce-b0d6-494e-ae4e-bc6b0aefaa7e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43040) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.666158 [ 42575 ] {640965ce-b0d6-494e-ae4e-bc6b0aefaa7e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.675738 [ 43108 ] {287f9b73-dbac-40ed-98de-303f50219fe5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43052) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.677386 [ 43108 ] {287f9b73-dbac-40ed-98de-303f50219fe5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.976105 [ 4593 ] {1ba4a2db-f7e9-42c8-927f-72db4f50156c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43062) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.977422 [ 4593 ] {1ba4a2db-f7e9-42c8-927f-72db4f50156c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.979958 [ 42575 ] {76886e31-bceb-4201-91c4-20ccec5bb31e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43064) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.981482 [ 43108 ] {cd18010c-b97b-4b62-88fa-da3090fb504e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43080) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.982480 [ 42575 ] {76886e31-bceb-4201-91c4-20ccec5bb31e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.982767 [ 43108 ] {cd18010c-b97b-4b62-88fa-da3090fb504e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.983966 [ 43109 ] {d7a66857-581b-49cc-ad13-c5096e4f5647} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43082) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.985363 [ 43109 ] {d7a66857-581b-49cc-ad13-c5096e4f5647} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.992647 [ 43110 ] {c56d1bd2-6e0b-4089-acb7-b7adf3ec74e1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43094) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.993912 [ 43110 ] {c56d1bd2-6e0b-4089-acb7-b7adf3ec74e1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.998352 [ 4593 ] {e7e22b56-b7c9-4810-90c2-e85f3583a07a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43096) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:12.999930 [ 4593 ] {e7e22b56-b7c9-4810-90c2-e85f3583a07a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.008762 [ 42575 ] {d3ab9768-c72d-40f8-b382-37162b100834} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43106) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.010769 [ 42575 ] {d3ab9768-c72d-40f8-b382-37162b100834} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.016744 [ 43109 ] {b493b233-f0d4-46cf-9932-b1a061f3aada} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43122) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.018371 [ 43108 ] {2699d608-12dc-4a84-8152-fcab4126742f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43120) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.018501 [ 43109 ] {b493b233-f0d4-46cf-9932-b1a061f3aada} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.019352 [ 43110 ] {f7f0063d-0049-4e6a-b278-86a21c5912c5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43138) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.020596 [ 43108 ] {2699d608-12dc-4a84-8152-fcab4126742f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.020981 [ 43110 ] {f7f0063d-0049-4e6a-b278-86a21c5912c5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.022394 [ 4593 ] {3401120c-bace-4bf7-b589-71bf82da488f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43140) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.023847 [ 4593 ] {3401120c-bace-4bf7-b589-71bf82da488f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.027878 [ 43111 ] {92864e84-306e-414b-b48f-fa346b3f83d2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43154) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.029570 [ 43111 ] {92864e84-306e-414b-b48f-fa346b3f83d2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.311896 [ 4593 ] {2e3f5e6c-9308-4ff1-87ed-6d142f5a467c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43170) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.313294 [ 4593 ] {2e3f5e6c-9308-4ff1-87ed-6d142f5a467c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.318073 [ 42575 ] {837afcb9-62cc-4cdd-a5be-ad025eaa19d9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43172) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.319508 [ 42575 ] {837afcb9-62cc-4cdd-a5be-ad025eaa19d9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.323267 [ 43108 ] {6c4f6a39-9e91-400a-acb9-5e4dcd79e895} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43176) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.325621 [ 43108 ] {6c4f6a39-9e91-400a-acb9-5e4dcd79e895} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.341368 [ 43110 ] {2b492b20-a254-403a-bae3-d74323c57ec9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43206) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.342371 [ 43109 ] {24efe650-ee9b-4995-8bcd-badfe47302bb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43194) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.342663 [ 43110 ] {2b492b20-a254-403a-bae3-d74323c57ec9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.343028 [ 4593 ] {776a9201-8a18-47fb-8960-aed47d21bd25} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43190) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.344026 [ 43109 ] {24efe650-ee9b-4995-8bcd-badfe47302bb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.344770 [ 4593 ] {776a9201-8a18-47fb-8960-aed47d21bd25} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.347028 [ 42575 ] {2cbc1a7a-9159-4567-ab8c-08d997d3a40d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43216) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.348487 [ 42575 ] {2cbc1a7a-9159-4567-ab8c-08d997d3a40d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.352073 [ 43108 ] {83ba2de0-fd38-4e23-bf62-033b7e951613} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43228) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.353223 [ 43111 ] {15f1db7a-3d10-4f37-bd2d-bc65b83096f2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43240) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.354426 [ 43108 ] {83ba2de0-fd38-4e23-bf62-033b7e951613} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.354726 [ 43111 ] {15f1db7a-3d10-4f37-bd2d-bc65b83096f2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.355654 [ 43116 ] {02052f9b-1b72-4d69-8790-96ea43e487bc} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43250) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.357152 [ 43116 ] {02052f9b-1b72-4d69-8790-96ea43e487bc} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.360288 [ 43117 ] {326997cd-9774-444a-b47e-d0be918fba58} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43254) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.361774 [ 43117 ] {326997cd-9774-444a-b47e-d0be918fba58} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.382819 [ 43111 ] {ba128ada-7895-4473-abef-086596debfab} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43268) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.384675 [ 43111 ] {ba128ada-7895-4473-abef-086596debfab} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.659015 [ 43111 ] {a5a1c832-ea17-49c2-8374-1aee0dba8cb3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43272) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.660863 [ 43111 ] {a5a1c832-ea17-49c2-8374-1aee0dba8cb3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.669466 [ 43116 ] {d02719f7-47ba-475c-be9a-f9f6433d276d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43288) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.670825 [ 43116 ] {d02719f7-47ba-475c-be9a-f9f6433d276d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.671488 [ 43117 ] {a4710334-3927-4e87-865e-5a839d503c06} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43286) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.673980 [ 43117 ] {a4710334-3927-4e87-865e-5a839d503c06} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.676690 [ 43120 ] {24f1b15b-46b9-4983-a169-99ddfdf915c7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43294) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.678471 [ 43120 ] {24f1b15b-46b9-4983-a169-99ddfdf915c7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.683001 [ 43111 ] {14ad61c2-4a14-45d6-a4e1-a50c50bdf26c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43296) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.684859 [ 43111 ] {14ad61c2-4a14-45d6-a4e1-a50c50bdf26c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.689270 [ 43116 ] {7208d98d-ee73-494c-afb8-63973270ed86} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43298) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.690802 [ 43116 ] {7208d98d-ee73-494c-afb8-63973270ed86} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.702288 [ 43117 ] {5efd7925-327e-4c7d-9ba9-8555faee9c84} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43302) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.703561 [ 43117 ] {5efd7925-327e-4c7d-9ba9-8555faee9c84} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.704165 [ 43120 ] {4fd62cf0-0867-44a7-8990-ca77f18a657b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43314) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.705663 [ 43120 ] {4fd62cf0-0867-44a7-8990-ca77f18a657b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.715021 [ 43116 ] {4fa85750-30de-4eda-8c43-c93c576d1f76} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43328) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.716620 [ 43116 ] {4fa85750-30de-4eda-8c43-c93c576d1f76} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.718375 [ 43123 ] {4b9fbd60-d4c2-4640-b3be-eb3af9f85e5b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43342) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.720241 [ 43123 ] {4b9fbd60-d4c2-4640-b3be-eb3af9f85e5b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.720848 [ 43111 ] {205fc6af-0c12-4614-bfc7-7dbfcfe0eb2d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43322) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.721433 [ 43126 ] {aa5e91f9-99c4-48a1-ac81-ce482ad8c732} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43348) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.722885 [ 43126 ] {aa5e91f9-99c4-48a1-ac81-ce482ad8c732} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:13.724284 [ 43111 ] {205fc6af-0c12-4614-bfc7-7dbfcfe0eb2d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.002137 [ 43111 ] {58fa2e04-87ef-4fa6-87cc-46e59f37b337} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43350) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.003859 [ 43111 ] {58fa2e04-87ef-4fa6-87cc-46e59f37b337} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.025714 [ 43111 ] {40dee404-2ea3-449f-9f47-2e59557195b3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43360) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.027452 [ 43111 ] {40dee404-2ea3-449f-9f47-2e59557195b3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.029043 [ 43116 ] {256af12c-744b-4138-966a-5fd20c53910d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43374) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.029933 [ 43117 ] {a9957519-1314-4962-ab85-695c8fc9345c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43390) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.030531 [ 43116 ] {256af12c-744b-4138-966a-5fd20c53910d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.031361 [ 43117 ] {a9957519-1314-4962-ab85-695c8fc9345c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.031743 [ 43120 ] {e48703d5-f467-4a89-ab47-731c0ac4f904} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43406) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.033131 [ 43120 ] {e48703d5-f467-4a89-ab47-731c0ac4f904} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.034795 [ 43123 ] {495071eb-516a-4319-9cad-0f8c2291e418} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43412) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.036783 [ 43123 ] {495071eb-516a-4319-9cad-0f8c2291e418} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.046577 [ 43126 ] {d02745fa-8cc3-41ed-8714-7f3bd32f1085} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43426) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.047883 [ 43126 ] {d02745fa-8cc3-41ed-8714-7f3bd32f1085} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.053958 [ 43116 ] {66789b05-7849-4e1a-8432-2b467f2ff385} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43450) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.054565 [ 43111 ] {0f554854-0040-4c9c-a89d-e934469c90d4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43442) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.055546 [ 43116 ] {66789b05-7849-4e1a-8432-2b467f2ff385} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.056325 [ 43111 ] {0f554854-0040-4c9c-a89d-e934469c90d4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.060119 [ 43117 ] {bad372b8-b13f-4fe8-bcb7-bd19f6fa83d3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43466) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.061645 [ 43117 ] {bad372b8-b13f-4fe8-bcb7-bd19f6fa83d3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.065679 [ 43120 ] {1d07dd7b-cc71-444d-a305-0a6805fefc69} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43480) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.067018 [ 43120 ] {1d07dd7b-cc71-444d-a305-0a6805fefc69} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.081865 [ 43111 ] {54a86070-17ef-4d55-b127-5247ce0b3560} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43494) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.083689 [ 43111 ] {54a86070-17ef-4d55-b127-5247ce0b3560} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.378986 [ 43111 ] {199874a1-9f1f-4080-8980-aa16eb0daf61} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43508) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.380601 [ 43111 ] {199874a1-9f1f-4080-8980-aa16eb0daf61} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.386778 [ 43117 ] {a5ea9673-e0c3-4702-b43e-324bb59487d8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43528) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.388640 [ 43117 ] {a5ea9673-e0c3-4702-b43e-324bb59487d8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.389274 [ 43120 ] {96dc34c7-64b6-46b7-a4d0-03f0dd9747fa} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43536) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.391987 [ 43120 ] {96dc34c7-64b6-46b7-a4d0-03f0dd9747fa} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.392465 [ 43123 ] {cf168d2f-bd60-4283-963b-786227a8aaca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43542) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.393748 [ 43123 ] {cf168d2f-bd60-4283-963b-786227a8aaca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.402366 [ 4593 ] {a49663b2-3b35-4035-81c1-243e5df34c6e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43554) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.402790 [ 43116 ] {e61c852e-4f51-461a-937d-449b7a645efa} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43512) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.404604 [ 4593 ] {a49663b2-3b35-4035-81c1-243e5df34c6e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.404963 [ 43127 ] {92679418-73f8-4e23-952a-dc9095ca937d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43550) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.405358 [ 43116 ] {e61c852e-4f51-461a-937d-449b7a645efa} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.406805 [ 43127 ] {92679418-73f8-4e23-952a-dc9095ca937d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.407271 [ 43126 ] {f04f16c5-89a0-4989-8fb6-d125d53ffc21} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43544) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.408887 [ 43126 ] {f04f16c5-89a0-4989-8fb6-d125d53ffc21} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.412329 [ 42575 ] {50f0dab6-bc3b-43bc-a40f-b2fcfd10372a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43570) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.414040 [ 42575 ] {50f0dab6-bc3b-43bc-a40f-b2fcfd10372a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.416191 [ 43108 ] {31750582-793b-4308-b28c-495f087a2090} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43574) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.417893 [ 43108 ] {31750582-793b-4308-b28c-495f087a2090} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.418406 [ 43109 ] {6675567d-1579-463b-8b5b-64ad43f222ad} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43580) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.420283 [ 43109 ] {6675567d-1579-463b-8b5b-64ad43f222ad} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.425801 [ 43123 ] {61c660fb-3042-4ae9-9319-0d570138a831} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43588) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.427782 [ 43123 ] {61c660fb-3042-4ae9-9319-0d570138a831} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.745237 [ 43123 ] {ca9e23e3-2066-44bc-9f19-6ac9f46a4b29} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56700) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.746644 [ 43123 ] {ca9e23e3-2066-44bc-9f19-6ac9f46a4b29} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.758220 [ 43127 ] {ad037052-34b0-4f7d-b336-8eeeda94fbb2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56710) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.760016 [ 43127 ] {ad037052-34b0-4f7d-b336-8eeeda94fbb2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.763445 [ 4593 ] {1673c041-8777-4c7a-a8f0-bbc18981782d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56714) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.763726 [ 42575 ] {0c4fdbe8-4b27-43af-8655-b9f0295960ce} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56718) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.765093 [ 42575 ] {0c4fdbe8-4b27-43af-8655-b9f0295960ce} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.766713 [ 4593 ] {1673c041-8777-4c7a-a8f0-bbc18981782d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.766780 [ 43126 ] {f27ea365-28f7-4893-a7f3-b72e57c6d592} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56706) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.768290 [ 43126 ] {f27ea365-28f7-4893-a7f3-b72e57c6d592} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.770067 [ 43123 ] {493ffedc-f72f-4b9b-941e-e23c6652b197} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56734) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.771817 [ 43123 ] {493ffedc-f72f-4b9b-941e-e23c6652b197} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.773937 [ 43109 ] {3dec8812-31d6-4a0a-b858-57c9dc8c0df0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56748) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.774427 [ 43108 ] {6322bd28-cf2f-4abd-bfaf-b058c81b0a93} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56722) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.775351 [ 43109 ] {3dec8812-31d6-4a0a-b858-57c9dc8c0df0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.777486 [ 43108 ] {6322bd28-cf2f-4abd-bfaf-b058c81b0a93} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.779776 [ 43127 ] {a3d028bd-6aa2-4c4a-a934-4b6356a84da2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56758) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.782100 [ 43127 ] {a3d028bd-6aa2-4c4a-a934-4b6356a84da2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.793654 [ 43126 ] {2c57265e-d651-4425-bfd2-e3cb5711309d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56768) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.795904 [ 43126 ] {2c57265e-d651-4425-bfd2-e3cb5711309d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.811087 [ 43123 ] {c171083c-a52d-4337-8bb2-e95eaf189350} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56778) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.812771 [ 43123 ] {c171083c-a52d-4337-8bb2-e95eaf189350} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.814093 [ 43127 ] {5e090da0-f5f2-4ec4-b944-43dd4d5b7c7b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56786) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:14.815661 [ 43127 ] {5e090da0-f5f2-4ec4-b944-43dd4d5b7c7b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.104797 [ 43123 ] {77e528f8-10ef-4051-b76b-1091d65f5e77} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56790) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.106692 [ 43123 ] {77e528f8-10ef-4051-b76b-1091d65f5e77} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.117583 [ 43126 ] {61b3d874-e71d-4df7-bf8a-d5095c979584} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56794) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.118958 [ 43127 ] {60c95b2c-0660-459b-b9a2-39182bcade7c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56802) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.119271 [ 43126 ] {61b3d874-e71d-4df7-bf8a-d5095c979584} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.119869 [ 43108 ] {e7626de0-8cd0-4193-82dc-c47af1446029} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56824) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.120987 [ 42575 ] {0574cf0c-efee-487d-b649-f522d7f8f945} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56810) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.121359 [ 43108 ] {e7626de0-8cd0-4193-82dc-c47af1446029} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.121402 [ 43127 ] {60c95b2c-0660-459b-b9a2-39182bcade7c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.122101 [ 4593 ] {d8a79079-3fa8-42c4-b13f-942279a99c39} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56818) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.122409 [ 43109 ] {df1458c4-cfd1-43c8-a2d4-8756b7df968a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56830) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.122674 [ 42575 ] {0574cf0c-efee-487d-b649-f522d7f8f945} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.123774 [ 4593 ] {d8a79079-3fa8-42c4-b13f-942279a99c39} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.124045 [ 43109 ] {df1458c4-cfd1-43c8-a2d4-8756b7df968a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.134847 [ 43123 ] {a38b88dc-4ea2-4171-b077-3ab34d4c5588} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56834) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.135630 [ 43110 ] {e90c2ca9-655a-43af-ba1d-cdb6af2cba19} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56840) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.136309 [ 43123 ] {a38b88dc-4ea2-4171-b077-3ab34d4c5588} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.137278 [ 43110 ] {e90c2ca9-655a-43af-ba1d-cdb6af2cba19} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.153257 [ 43126 ] {4cd2e89d-247f-476c-923c-b11ddd312504} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56842) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.154809 [ 43126 ] {4cd2e89d-247f-476c-923c-b11ddd312504} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.157357 [ 43127 ] {34da5e14-7ff4-4c59-8e2d-98d1ad9d1745} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56852) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.158814 [ 43127 ] {34da5e14-7ff4-4c59-8e2d-98d1ad9d1745} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.174191 [ 43123 ] {3cc1efd6-3ed0-4bfb-9a10-d3877ac2805e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56854) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.175845 [ 43123 ] {3cc1efd6-3ed0-4bfb-9a10-d3877ac2805e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.469654 [ 43123 ] {055ee681-8790-4e9c-82aa-f6be08494875} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56860) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.471323 [ 43123 ] {055ee681-8790-4e9c-82aa-f6be08494875} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.471662 [ 43127 ] {95794414-0dd3-4c52-b1c8-405f5b68efb0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56880) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.471988 [ 4593 ] {b3af99d6-d4b1-4636-9e62-dc1d02582a79} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56886) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.472380 [ 43126 ] {2ff0c634-a890-447c-8991-46af6a9c52ba} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56876) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.472841 [ 43127 ] {95794414-0dd3-4c52-b1c8-405f5b68efb0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.473532 [ 4593 ] {b3af99d6-d4b1-4636-9e62-dc1d02582a79} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.474121 [ 43126 ] {2ff0c634-a890-447c-8991-46af6a9c52ba} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.481659 [ 42575 ] {6912bc19-698e-46c1-8f45-68651f04a6c7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56894) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.483928 [ 42575 ] {6912bc19-698e-46c1-8f45-68651f04a6c7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.486739 [ 43108 ] {ecc57e6b-bd58-481f-80b0-d6a87bfb5856} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56900) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.487200 [ 43110 ] {a793584c-98d7-4192-b113-3f8011505d3e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56928) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.488605 [ 43108 ] {ecc57e6b-bd58-481f-80b0-d6a87bfb5856} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.488828 [ 43123 ] {adb24693-4c57-4d63-899d-4871356d36b9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56938) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.488871 [ 43110 ] {a793584c-98d7-4192-b113-3f8011505d3e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.490019 [ 43123 ] {adb24693-4c57-4d63-899d-4871356d36b9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.492030 [ 43109 ] {bbe5d6b9-5931-4f22-a318-00c8066abb33} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56914) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.493466 [ 43109 ] {bbe5d6b9-5931-4f22-a318-00c8066abb33} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.514505 [ 43126 ] {e09233e4-273a-4dbe-a4c0-b5b2e47e44a9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56940) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.515996 [ 43126 ] {e09233e4-273a-4dbe-a4c0-b5b2e47e44a9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.517518 [ 43127 ] {ea2c834a-8644-4d97-b47a-f605d5fea152} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56950) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.518843 [ 43127 ] {ea2c834a-8644-4d97-b47a-f605d5fea152} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.535507 [ 43123 ] {d5e5ba69-7b00-4d54-9571-3d2398b9abd0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56962) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.537053 [ 43123 ] {d5e5ba69-7b00-4d54-9571-3d2398b9abd0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.808128 [ 43123 ] {c707555c-f267-4949-8734-80d72eae1287} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56970) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.809457 [ 43123 ] {c707555c-f267-4949-8734-80d72eae1287} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.821105 [ 43126 ] {f794b94b-2bfe-41f1-8912-5d49567f4d0e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56986) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.822822 [ 43126 ] {f794b94b-2bfe-41f1-8912-5d49567f4d0e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.830855 [ 43127 ] {bd827c58-deec-43fe-9ddc-45ebff3767b7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56996) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.830929 [ 43123 ] {db88e4b2-fc27-4776-9826-679c8ea62be1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56994) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.832484 [ 43123 ] {db88e4b2-fc27-4776-9826-679c8ea62be1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.832577 [ 43127 ] {bd827c58-deec-43fe-9ddc-45ebff3767b7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.833341 [ 4593 ] {b49288ae-fb5e-49a5-9f85-747582771a4b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57010) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.834384 [ 43108 ] {2a6fe215-8dfb-4e8a-94bd-b93ec8ae17d8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57036) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.834944 [ 4593 ] {b49288ae-fb5e-49a5-9f85-747582771a4b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.836111 [ 43108 ] {2a6fe215-8dfb-4e8a-94bd-b93ec8ae17d8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.838436 [ 42575 ] {62717879-7cfd-4843-a85b-761110bc17a9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57024) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.839984 [ 42575 ] {62717879-7cfd-4843-a85b-761110bc17a9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.840323 [ 43109 ] {683faea0-3524-4c54-a1cf-53d2e020a112} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57046) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.841630 [ 43109 ] {683faea0-3524-4c54-a1cf-53d2e020a112} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.850961 [ 43126 ] {838447f1-b4a4-4a75-a259-8b012fe02e14} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57054) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.852338 [ 43126 ] {838447f1-b4a4-4a75-a259-8b012fe02e14} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.855562 [ 43123 ] {e472a357-2f4b-4160-a3dd-4d224e5cc34a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57070) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.857128 [ 43123 ] {e472a357-2f4b-4160-a3dd-4d224e5cc34a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.862287 [ 43127 ] {9297aadb-b95c-4371-b1ee-21135d38fde6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57076) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.863466 [ 43127 ] {9297aadb-b95c-4371-b1ee-21135d38fde6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.881366 [ 43123 ] {cde17e41-df74-4e94-aa45-83ec0a567b22} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57086) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:15.882657 [ 43123 ] {cde17e41-df74-4e94-aa45-83ec0a567b22} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.151505 [ 43123 ] {9d2ba583-bc6c-429a-9cf9-2c0704b173df} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57094) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.153159 [ 43123 ] {9d2ba583-bc6c-429a-9cf9-2c0704b173df} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.169212 [ 43126 ] {456ce236-8443-489d-a82d-a8d394739b44} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57104) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.170477 [ 43126 ] {456ce236-8443-489d-a82d-a8d394739b44} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.182146 [ 43123 ] {d720c1d9-2ef9-4130-b24f-05a6dc2dd2fa} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57120) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.183558 [ 4593 ] {a6e67c47-a9ec-4c93-9e0c-6347bdc5d62d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57128) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.183572 [ 43123 ] {d720c1d9-2ef9-4130-b24f-05a6dc2dd2fa} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.184735 [ 43127 ] {c9b67a36-0033-4dca-8d53-3f815d8a5214} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57124) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.185209 [ 4593 ] {a6e67c47-a9ec-4c93-9e0c-6347bdc5d62d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.186173 [ 43127 ] {c9b67a36-0033-4dca-8d53-3f815d8a5214} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.187726 [ 43108 ] {28b519cd-9940-4f45-ac69-761b11c28b1b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57138) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.187764 [ 42575 ] {1faf8230-e7b8-4d09-98de-7dd3ebc80318} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57136) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.188724 [ 43109 ] {b014d24e-11cb-4f26-9241-a83dc57a31bf} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57148) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.189362 [ 43108 ] {28b519cd-9940-4f45-ac69-761b11c28b1b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.190298 [ 43109 ] {b014d24e-11cb-4f26-9241-a83dc57a31bf} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.190567 [ 42575 ] {1faf8230-e7b8-4d09-98de-7dd3ebc80318} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.194064 [ 43126 ] {96a49602-e5a5-4d54-8289-35ccb762937c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57158) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.195284 [ 43126 ] {96a49602-e5a5-4d54-8289-35ccb762937c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.216116 [ 43110 ] {61dbceff-b2d9-4cda-939c-ef0bf6b3a71a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57170) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.217453 [ 43110 ] {61dbceff-b2d9-4cda-939c-ef0bf6b3a71a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.221496 [ 43116 ] {37da9b98-0c08-42ba-96b1-2f8a2fca3671} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57194) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.223230 [ 43116 ] {37da9b98-0c08-42ba-96b1-2f8a2fca3671} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.225867 [ 43111 ] {7653d531-05b7-4eda-8bc7-c908d7665ca8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57184) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.227316 [ 43111 ] {7653d531-05b7-4eda-8bc7-c908d7665ca8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.501645 [ 43126 ] {efeedc83-3f83-4bf6-8089-b1896ad3a41c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57202) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.503157 [ 43126 ] {efeedc83-3f83-4bf6-8089-b1896ad3a41c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.517351 [ 43110 ] {320e8519-6b88-46ba-972c-245f3f665c9c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57210) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.518989 [ 43110 ] {320e8519-6b88-46ba-972c-245f3f665c9c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.530496 [ 43111 ] {535244b1-d072-4997-ad64-bcf57c0da496} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57226) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.530610 [ 43126 ] {f66f7f46-c137-49bf-9b4c-d4c6a24126ba} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57212) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.530650 [ 43116 ] {0a74aff7-1731-42ab-b7dc-0bc72cd044fc} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57230) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.531993 [ 43111 ] {535244b1-d072-4997-ad64-bcf57c0da496} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.532519 [ 43126 ] {f66f7f46-c137-49bf-9b4c-d4c6a24126ba} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.533527 [ 43116 ] {0a74aff7-1731-42ab-b7dc-0bc72cd044fc} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.533949 [ 43117 ] {26535cfb-ce72-4bf5-95ba-159930a7043b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57236) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.535119 [ 43117 ] {26535cfb-ce72-4bf5-95ba-159930a7043b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.543923 [ 43110 ] {a7b32611-b72c-4b8d-9e34-04868024dc59} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57244) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.545479 [ 43110 ] {a7b32611-b72c-4b8d-9e34-04868024dc59} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.552134 [ 43123 ] {6e984d72-e2b1-466c-a84e-bfde156fa697} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57262) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.552726 [ 43120 ] {c2522e14-25c3-40e6-869d-bca295a04e4f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57260) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.554446 [ 43123 ] {6e984d72-e2b1-466c-a84e-bfde156fa697} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.554718 [ 43120 ] {c2522e14-25c3-40e6-869d-bca295a04e4f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.556296 [ 43126 ] {090fc0be-72db-4b2e-b562-931ba1dbe902} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57270) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.557690 [ 43126 ] {090fc0be-72db-4b2e-b562-931ba1dbe902} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.566759 [ 43111 ] {6b15e58c-475f-4c6c-b765-1054a7f96b22} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57274) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.568669 [ 43111 ] {6b15e58c-475f-4c6c-b765-1054a7f96b22} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.571354 [ 43110 ] {9016fcfc-f90b-47b3-a647-773caac15542} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57282) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.572702 [ 43110 ] {9016fcfc-f90b-47b3-a647-773caac15542} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.855365 [ 43126 ] {e7a1423f-4ffc-4d84-9a9d-64474ad2a67b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57284) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.856743 [ 43126 ] {e7a1423f-4ffc-4d84-9a9d-64474ad2a67b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.865080 [ 43110 ] {2ef70dbb-f497-48b5-ba22-8d0694a050aa} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57294) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.866502 [ 43110 ] {2ef70dbb-f497-48b5-ba22-8d0694a050aa} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.880442 [ 43126 ] {fd9c7f09-93e8-4195-99cc-e1ec7333d105} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57300) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.882035 [ 43126 ] {fd9c7f09-93e8-4195-99cc-e1ec7333d105} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.898275 [ 43110 ] {a4066e6c-38e3-4c78-9748-59cd8e2e6d29} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57316) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.899319 [ 43111 ] {f6e03296-89c2-4f7f-a9dd-63846e8450e4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57320) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.899743 [ 43116 ] {52b1bc29-e2cc-4260-8534-e51b1fba555e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57332) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.899763 [ 43110 ] {a4066e6c-38e3-4c78-9748-59cd8e2e6d29} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.900787 [ 43111 ] {f6e03296-89c2-4f7f-a9dd-63846e8450e4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.901104 [ 43116 ] {52b1bc29-e2cc-4260-8534-e51b1fba555e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.902326 [ 43126 ] {d4cfcece-981f-4f5c-9a60-fcde083cd3d7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57342) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.904536 [ 43126 ] {d4cfcece-981f-4f5c-9a60-fcde083cd3d7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.906620 [ 43117 ] {6b67f5bf-9841-417b-a361-711e9c9de83c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57344) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.908431 [ 43117 ] {6b67f5bf-9841-417b-a361-711e9c9de83c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.913895 [ 43120 ] {df052fab-d57e-48e1-93aa-7da0e8017b0c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57350) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.915289 [ 43120 ] {df052fab-d57e-48e1-93aa-7da0e8017b0c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.916006 [ 43123 ] {55e7becb-2637-4bc5-aff9-a5031847e35b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57352) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.917498 [ 43123 ] {55e7becb-2637-4bc5-aff9-a5031847e35b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.937362 [ 43126 ] {56c2d06f-45e5-4feb-9771-2919a085a4d2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57354) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.939266 [ 43126 ] {56c2d06f-45e5-4feb-9771-2919a085a4d2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.945777 [ 43110 ] {d4bddfc4-353f-4383-bb17-31e8e5d6af7a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57368) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:16.947572 [ 43110 ] {d4bddfc4-353f-4383-bb17-31e8e5d6af7a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.196221 [ 43126 ] {73c3adfd-6a81-4ea8-b389-3233d23a8e4c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57378) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.197650 [ 43126 ] {73c3adfd-6a81-4ea8-b389-3233d23a8e4c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.219611 [ 43126 ] {064feed3-4f4a-4e21-9a5d-f63e8514002f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57380) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.220967 [ 43126 ] {064feed3-4f4a-4e21-9a5d-f63e8514002f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.245957 [ 43126 ] {8f68390c-ac13-497c-8c9e-68791b37eb58} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57390) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.247871 [ 43126 ] {8f68390c-ac13-497c-8c9e-68791b37eb58} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.261660 [ 43111 ] {dc532435-0b23-4062-8cae-679af31d8081} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57414) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.265067 [ 43111 ] {dc532435-0b23-4062-8cae-679af31d8081} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.265728 [ 43110 ] {cbd8ec01-196a-4469-b71b-c23db199b3c6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57406) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.272175 [ 43110 ] {cbd8ec01-196a-4469-b71b-c23db199b3c6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.275568 [ 43116 ] {3b3dff66-73c2-4cc6-a7ff-443f241dc8f5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57418) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.278274 [ 43116 ] {3b3dff66-73c2-4cc6-a7ff-443f241dc8f5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.282021 [ 43120 ] {4c999fa2-01a9-4b87-a147-2e9f2807c742} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57438) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.283044 [ 43117 ] {e2aab0d3-0baa-4e89-b105-363a18938eea} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57422) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.284257 [ 43120 ] {4c999fa2-01a9-4b87-a147-2e9f2807c742} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.284551 [ 43117 ] {e2aab0d3-0baa-4e89-b105-363a18938eea} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.308328 [ 43111 ] {723cef37-c639-433b-a285-a4f8eae5c6e2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57452) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.310317 [ 43111 ] {723cef37-c639-433b-a285-a4f8eae5c6e2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.319811 [ 43116 ] {85fe161e-9da8-4391-b713-67e679c80a84} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57468) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.322518 [ 43116 ] {85fe161e-9da8-4391-b713-67e679c80a84} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.355228 [ 43111 ] {f43bfa93-c199-4a4d-839f-01786e928773} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57472) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.356897 [ 43111 ] {f43bfa93-c199-4a4d-839f-01786e928773} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.362136 [ 43116 ] {ba8de5a6-a684-4391-8167-4d7858ee0db9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57480) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.364184 [ 43116 ] {ba8de5a6-a684-4391-8167-4d7858ee0db9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.559503 [ 43111 ] {5f15bfca-6129-42d3-a89d-a994ae27c863} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57482) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.561064 [ 43111 ] {5f15bfca-6129-42d3-a89d-a994ae27c863} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.585482 [ 43111 ] {0fb2da30-5fbc-4c20-9252-632f28edffeb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57498) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.587230 [ 43111 ] {0fb2da30-5fbc-4c20-9252-632f28edffeb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.606355 [ 43116 ] {10874b62-e2db-463c-a53c-fdb4d5b2fb4f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57508) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.607802 [ 43116 ] {10874b62-e2db-463c-a53c-fdb4d5b2fb4f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.610861 [ 43111 ] {2e589b7b-e5f8-4466-85fd-94afce33183e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57522) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.612647 [ 43117 ] {70cf5f4c-4639-419f-a144-6c952cc9244c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57528) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.612893 [ 43111 ] {2e589b7b-e5f8-4466-85fd-94afce33183e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.614083 [ 43117 ] {70cf5f4c-4639-419f-a144-6c952cc9244c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.618163 [ 43120 ] {c12db64c-bafd-4d3c-bb7b-6828c5671849} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57530) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.620847 [ 43120 ] {c12db64c-bafd-4d3c-bb7b-6828c5671849} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.630398 [ 43123 ] {0d8865c2-db41-46b5-a979-45c6fc931969} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57538) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.630973 [ 43116 ] {fddcb4a0-7e11-4329-be7a-70557aafe01b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57548) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.632294 [ 43116 ] {fddcb4a0-7e11-4329-be7a-70557aafe01b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.632623 [ 43123 ] {0d8865c2-db41-46b5-a979-45c6fc931969} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.657065 [ 43111 ] {67c04cf4-1414-4c94-9582-66f7141528ff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57556) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.658642 [ 43111 ] {67c04cf4-1414-4c94-9582-66f7141528ff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.661561 [ 43116 ] {3264133d-6e8e-43d7-9be8-e6e55b2873a8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57564) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.662869 [ 43116 ] {3264133d-6e8e-43d7-9be8-e6e55b2873a8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.701873 [ 43111 ] {51addb0b-1f35-411a-9060-b211dfa7f642} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57576) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.703600 [ 43111 ] {51addb0b-1f35-411a-9060-b211dfa7f642} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.703618 [ 43116 ] {5da2716e-2926-427d-b1a9-6187f0c76f70} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57590) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.705185 [ 43116 ] {5da2716e-2926-427d-b1a9-6187f0c76f70} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.908661 [ 43111 ] {c629d95b-2253-4336-9cd3-0d6363f0cd43} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57596) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.909993 [ 43111 ] {c629d95b-2253-4336-9cd3-0d6363f0cd43} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.933059 [ 43111 ] {628a7180-e22e-46d7-b420-1b95a61ba366} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57610) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.934410 [ 43111 ] {628a7180-e22e-46d7-b420-1b95a61ba366} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.947914 [ 43116 ] {bb645917-e559-4b62-b8d5-bfc9fcc1482a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57626) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.949559 [ 43116 ] {bb645917-e559-4b62-b8d5-bfc9fcc1482a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.950140 [ 43117 ] {e877b400-e15e-4d36-9573-7b5affc28984} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57630) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.951257 [ 43111 ] {2b2aff8b-5f7b-4f2f-ac22-f729f360bbc2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57642) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.951448 [ 43117 ] {e877b400-e15e-4d36-9573-7b5affc28984} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.952536 [ 43111 ] {2b2aff8b-5f7b-4f2f-ac22-f729f360bbc2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.954910 [ 43120 ] {3eb25bcf-8a4c-43e9-a938-050134c62e04} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57640) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.956464 [ 43120 ] {3eb25bcf-8a4c-43e9-a938-050134c62e04} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.962101 [ 43123 ] {08b670e7-f781-4590-b83e-6c1c8ede910c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57658) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.963286 [ 43123 ] {08b670e7-f781-4590-b83e-6c1c8ede910c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.971148 [ 43116 ] {b6d66173-1400-4d78-ab29-f2b2de100df1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57666) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.973481 [ 43116 ] {b6d66173-1400-4d78-ab29-f2b2de100df1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.989571 [ 43111 ] {d14f22d6-7183-42bb-820c-90a5491adfc7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57672) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.991214 [ 43111 ] {d14f22d6-7183-42bb-820c-90a5491adfc7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.992395 [ 43117 ] {8bb8246c-3ee4-4f9a-89e2-c4344b449767} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57686) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:17.994377 [ 43117 ] {8bb8246c-3ee4-4f9a-89e2-c4344b449767} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.033623 [ 43111 ] {46a5a3cf-28d4-4143-821d-382da479cadb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57692) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.035088 [ 43111 ] {46a5a3cf-28d4-4143-821d-382da479cadb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.038177 [ 43116 ] {32b820d8-716e-4aeb-bd6e-b300e5b629a0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57696) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.039920 [ 43116 ] {32b820d8-716e-4aeb-bd6e-b300e5b629a0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.251928 [ 43111 ] {aaf6c747-45fd-4331-97b5-e46475829a4d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57706) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.255241 [ 43111 ] {aaf6c747-45fd-4331-97b5-e46475829a4d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.272071 [ 43116 ] {98c2a836-c4b5-49d5-85b1-e6ce1c650644} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57710) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.276917 [ 43116 ] {98c2a836-c4b5-49d5-85b1-e6ce1c650644} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.289642 [ 43120 ] {bcd70b84-6b6f-4539-b06f-0e8aba7205da} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57734) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.290967 [ 43117 ] {b20a3685-0c58-437b-8fa8-8c1b515ba516} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57722) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.291421 [ 43111 ] {823bb06a-b692-4c02-a8a0-c3b6e0125035} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57714) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.291539 [ 43120 ] {bcd70b84-6b6f-4539-b06f-0e8aba7205da} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.292818 [ 43111 ] {823bb06a-b692-4c02-a8a0-c3b6e0125035} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.293038 [ 43117 ] {b20a3685-0c58-437b-8fa8-8c1b515ba516} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.297109 [ 43123 ] {65851e6c-2fbd-4af7-979f-59b1a52150af} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57750) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.297141 [ 43127 ] {d00a9b62-2308-4168-b7d9-3611fc471a02} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57752) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.298695 [ 43127 ] {d00a9b62-2308-4168-b7d9-3611fc471a02} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.298742 [ 43123 ] {65851e6c-2fbd-4af7-979f-59b1a52150af} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.308261 [ 43116 ] {9c601677-1656-42e0-a0d1-231981e30d52} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57766) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.309767 [ 43116 ] {9c601677-1656-42e0-a0d1-231981e30d52} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.331932 [ 43111 ] {0fe96f29-aec3-409f-b6fb-39766d781e93} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57778) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.333617 [ 43111 ] {0fe96f29-aec3-409f-b6fb-39766d781e93} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.337184 [ 43116 ] {6bd666ac-2de8-464c-83d4-f69bd013a1c7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57794) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.338432 [ 43116 ] {6bd666ac-2de8-464c-83d4-f69bd013a1c7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.380172 [ 43116 ] {affc70b4-8a97-48f8-b00b-5f5a435107b6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57820) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.381004 [ 43111 ] {351e3167-cc4a-4b71-9c79-0143aee7a91a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57810) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.382135 [ 43116 ] {affc70b4-8a97-48f8-b00b-5f5a435107b6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.382793 [ 43111 ] {351e3167-cc4a-4b71-9c79-0143aee7a91a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.610184 [ 43111 ] {e214eb24-274b-4c68-a231-96fa26347e6c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57830) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.611583 [ 43111 ] {e214eb24-274b-4c68-a231-96fa26347e6c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.632056 [ 43116 ] {17103cff-c129-49f6-9537-c2324e0916b7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57836) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.632927 [ 43117 ] {076f4712-528f-4953-8c11-4d3c656dec64} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57838) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.633658 [ 43116 ] {17103cff-c129-49f6-9537-c2324e0916b7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.634522 [ 43117 ] {076f4712-528f-4953-8c11-4d3c656dec64} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.636891 [ 43111 ] {7ba3488e-9b2b-4828-885e-72d48be3e3da} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57842) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.638613 [ 43123 ] {7cf11fc8-ddfc-4e86-87d8-34017e0a4b46} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57860) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.638713 [ 43111 ] {7ba3488e-9b2b-4828-885e-72d48be3e3da} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.642478 [ 43123 ] {7cf11fc8-ddfc-4e86-87d8-34017e0a4b46} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.643794 [ 43120 ] {c70c5415-b325-417c-a3e0-871f06395976} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57846) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.645200 [ 43120 ] {c70c5415-b325-417c-a3e0-871f06395976} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.645203 [ 43127 ] {5f95aa1f-fc4a-4dae-8260-6efea0ecb8e4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57864) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.646795 [ 43127 ] {5f95aa1f-fc4a-4dae-8260-6efea0ecb8e4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.669789 [ 43116 ] {eeff8347-7cfd-4082-b438-6bdb47b341ed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57876) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.671325 [ 43116 ] {eeff8347-7cfd-4082-b438-6bdb47b341ed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.675999 [ 43111 ] {4a5cc3e8-2b23-4b93-a641-82e608a63b79} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57890) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.676073 [ 43117 ] {4532f5dd-5788-4794-875e-cd0e6aeba13c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57892) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.677811 [ 43111 ] {4a5cc3e8-2b23-4b93-a641-82e608a63b79} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.678226 [ 43117 ] {4532f5dd-5788-4794-875e-cd0e6aeba13c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.717027 [ 43111 ] {89e2a6d1-5a1d-4c56-a062-0d8e44f009b3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57894) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.718459 [ 43111 ] {89e2a6d1-5a1d-4c56-a062-0d8e44f009b3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.737853 [ 43111 ] {ecb5e6cf-0a29-415d-b665-3855bc8449ef} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57910) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.739496 [ 43111 ] {ecb5e6cf-0a29-415d-b665-3855bc8449ef} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.947280 [ 43111 ] {360a302d-119b-42af-8e4c-52c5b9e2f60c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57912) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.948458 [ 43111 ] {360a302d-119b-42af-8e4c-52c5b9e2f60c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.974076 [ 43111 ] {db22348c-5802-44a2-b773-c47ee8b08c55} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57914) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.974886 [ 43116 ] {7ee0bb12-d6b5-4794-aa42-ddf41eadde31} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57916) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.975458 [ 43111 ] {db22348c-5802-44a2-b773-c47ee8b08c55} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.976343 [ 43116 ] {7ee0bb12-d6b5-4794-aa42-ddf41eadde31} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.977858 [ 43117 ] {2e1f440d-d2a4-4c86-bc22-7a5f2678a558} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57918) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.979007 [ 43117 ] {2e1f440d-d2a4-4c86-bc22-7a5f2678a558} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.989852 [ 43120 ] {89ab5822-bbc0-4b79-9004-c42684b97ca5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57920) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.991074 [ 43120 ] {89ab5822-bbc0-4b79-9004-c42684b97ca5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.993251 [ 43111 ] {da668657-5f0f-4124-a14a-ff16589fa415} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57928) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:18.994587 [ 43111 ] {da668657-5f0f-4124-a14a-ff16589fa415} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.001507 [ 43116 ] {da463c8b-1006-49c9-bbdc-446478619647} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57934) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.002943 [ 43116 ] {da463c8b-1006-49c9-bbdc-446478619647} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.015061 [ 43117 ] {c5b88d98-95f4-4976-82c4-13e6abbb966d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57946) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.016688 [ 43117 ] {c5b88d98-95f4-4976-82c4-13e6abbb966d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.036910 [ 43111 ] {9104cb03-80a3-4caa-aa92-5487b4490bd5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57948) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.038581 [ 43111 ] {9104cb03-80a3-4caa-aa92-5487b4490bd5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.050158 [ 43116 ] {2ddcd7bd-bc29-4de0-9635-087cf5ae0410} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57950) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.051003 [ 43120 ] {f049875d-0fcd-4f03-954a-2c7b3a1a78b4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57962) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.051567 [ 43116 ] {2ddcd7bd-bc29-4de0-9635-087cf5ae0410} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.052422 [ 43120 ] {f049875d-0fcd-4f03-954a-2c7b3a1a78b4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.077152 [ 43111 ] {e7bab9b7-80db-4489-9868-f73646819148} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57976) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.078642 [ 43111 ] {e7bab9b7-80db-4489-9868-f73646819148} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.289880 [ 43111 ] {b1388122-9f5a-4f4f-b9f0-845f1d3d1dd9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57986) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.291640 [ 43111 ] {b1388122-9f5a-4f4f-b9f0-845f1d3d1dd9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.307663 [ 43116 ] {91762740-e4c9-4515-a3d8-6b7c4d085e2e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58000) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.308867 [ 43116 ] {91762740-e4c9-4515-a3d8-6b7c4d085e2e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.319793 [ 43111 ] {3fad40de-d16c-4511-8abd-41deaa818997} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58008) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.321436 [ 43111 ] {3fad40de-d16c-4511-8abd-41deaa818997} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.323660 [ 43120 ] {4653b379-6c7a-46fc-a21a-2766f7ec38a1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58016) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.325063 [ 43120 ] {4653b379-6c7a-46fc-a21a-2766f7ec38a1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.325151 [ 43123 ] {60232657-4c8f-4764-9366-fa8bf023795e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58024) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.326596 [ 43123 ] {60232657-4c8f-4764-9366-fa8bf023795e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.330730 [ 38374 ] {} ExternalDictionariesLoader: Could not load external dictionary 'f08ad77e-640a-4a42-bd16-ab934417661e', next update is scheduled at 2024-03-19 13:15:26: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:15:19.331768 [ 43127 ] {1060acf7-db0f-429b-a889-f23c52893391} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58034) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.333028 [ 43127 ] {1060acf7-db0f-429b-a889-f23c52893391} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.340409 [ 43116 ] {ac37bb13-fad3-4e74-9660-bb70a4708b8c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58042) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.341743 [ 43116 ] {ac37bb13-fad3-4e74-9660-bb70a4708b8c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.347604 [ 43111 ] {6380dc5e-3675-4708-bd72-2229bc676bd4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58046) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.349118 [ 43111 ] {6380dc5e-3675-4708-bd72-2229bc676bd4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.369265 [ 43116 ] {44ee07b0-795c-4ff8-a62c-fd5e1ee53d51} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58060) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.371134 [ 43116 ] {44ee07b0-795c-4ff8-a62c-fd5e1ee53d51} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.380640 [ 43111 ] {4279335b-0dea-4b5d-b030-d06d42fdeb4e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58068) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.382052 [ 43111 ] {4279335b-0dea-4b5d-b030-d06d42fdeb4e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.391358 [ 43116 ] {9e4e7e49-bef7-4f10-805e-449ae6087949} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58074) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.392794 [ 43116 ] {9e4e7e49-bef7-4f10-805e-449ae6087949} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.418232 [ 43111 ] {4ad4661a-fa53-49bf-920b-627c4c2273d2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58080) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:15:19.419410 [ 43111 ] {4ad4661a-fa53-49bf-920b-627c4c2273d2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x18b2c00b in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x18b2b903 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b4651f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 26. ? @ 0x7f8b832b7609 in ? 27. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:44.301064 [ 43116 ] {5169c70a-4f48-4aff-a317-945082d98269} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:16:44.370023 [ 43116 ] {bad0d8a6-59c9-4927-8e48-726f5451ce07} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:16:44.427741 [ 43116 ] {f46ae856-0c3d-4b8f-b0d4-4f02d43754b1} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:16:44.483250 [ 43116 ] {333105b8-1021-4478-b84a-ec9dfaa8a69f} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.03.19 13:16:44.784074 [ 43116 ] {f1d6ae33-a63c-44d9-8904-7a42d1c8519d} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50376) (comment: 01516_create_table_primary_key.sql) (in query: CREATE TABLE primary_key_test (`v1` Int64, `v2` Int32, `v3` String) ENGINE = ReplacingMergeTree PRIMARY KEY (v1, gcd(v1, v2)) ORDER BY v1 SETTINGS index_granularity = 58473, min_bytes_for_wide_part = 277929577, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 17545, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 6980290266, index_granularity_bytes = 14506542), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:44.785060 [ 43116 ] {f1d6ae33-a63c-44d9-8904-7a42d1c8519d} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0xd9fabc5 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:456: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x1f35114a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:564: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x1f34bfc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x1f73e78b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x1f73e053 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f73aa95 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.246646 [ 45587 ] {a3cec7f8-54c3-4cc7-a30f-b82befa7b429} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56990) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.246755 [ 45588 ] {dee60708-67b5-4051-9c40-749d56755248} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56996) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.246909 [ 43116 ] {4d67f373-f41b-4892-9386-c37208c0a240} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56940) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.246903 [ 45589 ] {5e95310e-16c1-4463-be4b-4fb8df74a2fa} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57012) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.247111 [ 45584 ] {7ae733c8-3ef7-4e3d-adfa-ac2907bbdc1d} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56970) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.248937 [ 45587 ] {a3cec7f8-54c3-4cc7-a30f-b82befa7b429} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.249036 [ 45588 ] {dee60708-67b5-4051-9c40-749d56755248} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.249960 [ 45589 ] {5e95310e-16c1-4463-be4b-4fb8df74a2fa} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.251929 [ 45584 ] {7ae733c8-3ef7-4e3d-adfa-ac2907bbdc1d} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.252361 [ 43116 ] {4d67f373-f41b-4892-9386-c37208c0a240} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.273611 [ 45596 ] {1eb27a9c-4c47-4d34-a890-cc6831a31aea} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r2 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57072) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.275535 [ 45596 ] {1eb27a9c-4c47-4d34-a890-cc6831a31aea} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r2 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.299844 [ 43116 ] {29a314fa-9927-47d5-957c-b78ce9ff5eaf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r2 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57076) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.303233 [ 43116 ] {29a314fa-9927-47d5-957c-b78ce9ff5eaf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r2 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.747494 [ 45585 ] {d1493383-44b0-4504-9e0c-c9933c692f1b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57162) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.750147 [ 45585 ] {d1493383-44b0-4504-9e0c-c9933c692f1b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.763780 [ 45586 ] {2a2f5b18-9c7a-476a-9398-1ea13d610c0e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57164) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.766029 [ 45586 ] {2a2f5b18-9c7a-476a-9398-1ea13d610c0e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.770974 [ 43116 ] {a8f043d7-b901-49eb-859d-6da0493cdb14} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57166) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:57.773082 [ 43116 ] {a8f043d7-b901-49eb-859d-6da0493cdb14} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_4_4_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:58.200272 [ 45587 ] {ad14866a-cedc-4b8e-9d86-a3ff049f6dfe} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57244) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:16:58.202663 [ 45587 ] {ad14866a-cedc-4b8e-9d86-a3ff049f6dfe} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_5_5_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.247108 [ 45586 ] {4feff946-da24-4a26-bab7-eadbf51ee5c4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57642) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.248707 [ 45586 ] {4feff946-da24-4a26-bab7-eadbf51ee5c4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.252854 [ 45585 ] {23b1f244-f6df-4490-b44e-6916082bd42d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57632) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.253037 [ 45587 ] {cb1f9ed7-e1e7-4d87-95d7-32feae37c776} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57658) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.254786 [ 45585 ] {23b1f244-f6df-4490-b44e-6916082bd42d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.256541 [ 45587 ] {cb1f9ed7-e1e7-4d87-95d7-32feae37c776} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.260868 [ 45588 ] {526a4c56-297a-4831-b20e-40804861aff6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57662) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.263863 [ 45588 ] {526a4c56-297a-4831-b20e-40804861aff6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.284604 [ 45586 ] {bc04bee8-7f25-4914-abc7-31180d9e37f8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57672) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.286198 [ 45586 ] {bc04bee8-7f25-4914-abc7-31180d9e37f8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.726949 [ 45586 ] {0666b1a8-e472-431f-96ac-72b0cf04f454} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57798) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.729865 [ 45586 ] {0666b1a8-e472-431f-96ac-72b0cf04f454} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.757457 [ 45587 ] {a781652c-ced1-48b4-9b52-804d8140731b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57814) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:00.760525 [ 45587 ] {a781652c-ced1-48b4-9b52-804d8140731b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:01.241603 [ 45586 ] {a710138b-6970-4632-8e94-a335e73c25a9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57908) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:01.243402 [ 45586 ] {a710138b-6970-4632-8e94-a335e73c25a9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.057208 [ 45587 ] {80f2ccab-8452-4911-ba7d-bcab2e131536} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58160) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 11), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.057745 [ 45588 ] {48828290-c413-47d2-a880-b2999f1a39a1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58166) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.060159 [ 45588 ] {48828290-c413-47d2-a880-b2999f1a39a1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.061988 [ 45587 ] {80f2ccab-8452-4911-ba7d-bcab2e131536} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.098986 [ 45589 ] {510d242e-3af9-4c3d-9ee6-6c0cee61ca06} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58180) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.102443 [ 45589 ] {510d242e-3af9-4c3d-9ee6-6c0cee61ca06} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.135448 [ 45587 ] {6ab24225-b54a-47e8-9d31-20ef0c286fc8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58182) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.138947 [ 45588 ] {ada68f80-08be-4c9b-bd1e-8a456b8fe1bd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58188) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 11), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.138965 [ 45587 ] {6ab24225-b54a-47e8-9d31-20ef0c286fc8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.144069 [ 45588 ] {ada68f80-08be-4c9b-bd1e-8a456b8fe1bd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.623051 [ 45588 ] {e6e33c40-c7aa-49d0-9a37-2edd408627b4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58264) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 11), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.626447 [ 45588 ] {e6e33c40-c7aa-49d0-9a37-2edd408627b4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.626978 [ 45589 ] {3f4d1160-1895-4a6b-a2a0-f63a66190870} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58278) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.629686 [ 45589 ] {3f4d1160-1895-4a6b-a2a0-f63a66190870} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.653239 [ 43116 ] {5d6c7c9c-df8c-4959-84c9-84d66d156ad3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58306) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.653597 [ 45596 ] {ce1850f5-b63e-4adb-a329-ab09c1f394da} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58288) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.654206 [ 45597 ] {7e0ec18a-73a5-4942-94bf-686bdeba285d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58290) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 11), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.655746 [ 43116 ] {5d6c7c9c-df8c-4959-84c9-84d66d156ad3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.655797 [ 43111 ] {d7e679df-ca2d-4fc2-86a0-97dfb3b3d177} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58308) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.656398 [ 45597 ] {7e0ec18a-73a5-4942-94bf-686bdeba285d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.658748 [ 45596 ] {ce1850f5-b63e-4adb-a329-ab09c1f394da} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.659262 [ 43111 ] {d7e679df-ca2d-4fc2-86a0-97dfb3b3d177} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.728474 [ 45586 ] {fec23934-3359-439e-92a5-477a3b13e32e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58316) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:03.731918 [ 45586 ] {fec23934-3359-439e-92a5-477a3b13e32e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.105736 [ 43111 ] {0a132ff5-5895-4a4a-9ce1-5970f1de1477} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60666) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.109218 [ 43111 ] {0a132ff5-5895-4a4a-9ce1-5970f1de1477} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.117178 [ 45594 ] {5bccf1c4-2e81-4e88-8d1e-59f472b191e7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60680) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.119390 [ 45594 ] {5bccf1c4-2e81-4e88-8d1e-59f472b191e7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.138198 [ 45595 ] {a96c2c56-8f13-4fc0-897b-da6c8e6c5b62} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60692) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.141367 [ 45595 ] {a96c2c56-8f13-4fc0-897b-da6c8e6c5b62} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.143811 [ 45584 ] {299baecb-a335-4a66-8cc8-d5d7fca87683} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60704) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.146813 [ 45584 ] {299baecb-a335-4a66-8cc8-d5d7fca87683} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.149058 [ 43111 ] {3884aac8-77aa-41d1-8aae-1fa297b3dcfe} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60718) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.152483 [ 45585 ] {003f2ae2-e125-45ef-8626-5e59a1c28555} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60728) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.153250 [ 43111 ] {3884aac8-77aa-41d1-8aae-1fa297b3dcfe} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.154368 [ 45585 ] {003f2ae2-e125-45ef-8626-5e59a1c28555} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.155868 [ 45586 ] {53c6b3ca-6734-4442-9bf3-ef541fa2cb59} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60736) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.157832 [ 45586 ] {53c6b3ca-6734-4442-9bf3-ef541fa2cb59} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.195166 [ 43111 ] {5c83b814-38f1-421b-b567-164947a47cae} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r5 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60742) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:05.197424 [ 43111 ] {5c83b814-38f1-421b-b567-164947a47cae} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r5 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.346045 [ 45595 ] {6f58d4f9-5bd9-4311-ae43-ad3a291c7885} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33004) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.348175 [ 45595 ] {6f58d4f9-5bd9-4311-ae43-ad3a291c7885} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.369567 [ 45584 ] {7a365cc5-aa10-4ea8-a0c2-ed8a8b225e62} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33020) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 18), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.371265 [ 45584 ] {7a365cc5-aa10-4ea8-a0c2-ed8a8b225e62} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.848894 [ 45584 ] {9f85c712-bad7-47df-aab7-ba244f59f4d4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33132) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.852100 [ 45584 ] {9f85c712-bad7-47df-aab7-ba244f59f4d4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.877065 [ 45585 ] {603e9939-6bff-4985-ad64-c348497dd19c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33136) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.878634 [ 45585 ] {603e9939-6bff-4985-ad64-c348497dd19c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.892460 [ 45586 ] {297f63c4-46de-441d-a08f-03d89852bf1f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33166) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.892494 [ 45584 ] {a5585392-89aa-42e8-affb-1d754855205d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33152) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.893687 [ 45586 ] {297f63c4-46de-441d-a08f-03d89852bf1f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:07.893862 [ 45584 ] {a5585392-89aa-42e8-affb-1d754855205d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_23_23_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.278691 [ 45586 ] {0c9e6cd1-7f55-4d28-9643-6f409cc152f3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33220) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.280403 [ 45586 ] {0c9e6cd1-7f55-4d28-9643-6f409cc152f3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.281020 [ 45584 ] {221dbe5b-9b3d-4ffb-ab3c-63e7f36a8af7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33226) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 22), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.282689 [ 45584 ] {221dbe5b-9b3d-4ffb-ab3c-63e7f36a8af7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.301304 [ 45585 ] {2c2eff61-5996-48af-9e92-abf2f11cd50f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33230) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:08.302835 [ 45585 ] {2c2eff61-5996-48af-9e92-abf2f11cd50f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:09.614512 [ 45585 ] {621f1677-8eae-4aec-9a22-95bf3661e8cc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33482) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:09.616345 [ 45585 ] {621f1677-8eae-4aec-9a22-95bf3661e8cc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:09.620721 [ 45586 ] {64f29b49-1b87-4a15-85d6-b9901c68b8b8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33496) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:09.622518 [ 45586 ] {64f29b49-1b87-4a15-85d6-b9901c68b8b8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.467548 [ 45585 ] {320da696-09fd-4305-9df9-a322cc3f17e9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33660) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 26), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.468222 [ 45586 ] {0eba34d4-4543-43d0-86a0-a2f2a7734cad} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33668) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.469613 [ 45585 ] {320da696-09fd-4305-9df9-a322cc3f17e9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.470149 [ 45586 ] {0eba34d4-4543-43d0-86a0-a2f2a7734cad} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.477316 [ 45587 ] {f9bcab36-215a-4b1a-8a54-ab4ad29e05ed} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33678) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.478871 [ 45587 ] {f9bcab36-215a-4b1a-8a54-ab4ad29e05ed} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.495816 [ 45588 ] {af80acee-0015-4fef-8989-bc2a13538e9a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33688) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 26), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.497360 [ 45588 ] {af80acee-0015-4fef-8989-bc2a13538e9a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.498506 [ 45589 ] {f54eec88-5166-4ef0-b29a-df71adf282b4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33702) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 25), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.499969 [ 45589 ] {f54eec88-5166-4ef0-b29a-df71adf282b4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.500482 [ 45596 ] {cdfb98f4-c5b3-4213-bba9-0ab457175621} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33708) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.502155 [ 45596 ] {cdfb98f4-c5b3-4213-bba9-0ab457175621} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.881897 [ 45586 ] {a9b905f9-286e-4252-b3b0-ed66a2e22632} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33794) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:10.883496 [ 45586 ] {a9b905f9-286e-4252-b3b0-ed66a2e22632} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:11.353237 [ 45585 ] {439c3e15-341f-489b-8217-7383f846fce8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:33902) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 28), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:11.356467 [ 45585 ] {439c3e15-341f-489b-8217-7383f846fce8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.740134 [ 45597 ] {d94a4515-97cb-41ce-9f2b-501996bac2f4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34216) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.741840 [ 45597 ] {d94a4515-97cb-41ce-9f2b-501996bac2f4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.743720 [ 45594 ] {05a0ba83-92b1-4101-acaa-9116e189b282} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34228) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.745195 [ 45594 ] {05a0ba83-92b1-4101-acaa-9116e189b282} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.769957 [ 45597 ] {cf10c9c3-41d9-4d07-a5ac-a981cdc8aec1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34248) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.770766 [ 43111 ] {40744c5e-8adc-4686-8124-c97a82c7b31e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34232) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.771297 [ 45597 ] {cf10c9c3-41d9-4d07-a5ac-a981cdc8aec1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.772312 [ 43111 ] {40744c5e-8adc-4686-8124-c97a82c7b31e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.774307 [ 45594 ] {60baf0ea-1c2c-4e16-b27c-fb6b46f48b3f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34254) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:12.776133 [ 45594 ] {60baf0ea-1c2c-4e16-b27c-fb6b46f48b3f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_34_34_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r3 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.152751 [ 45595 ] {6da27076-9601-4b73-85ff-64eaee03441a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34332) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.153172 [ 45594 ] {ec74e888-3337-447b-9b89-d34546bae124} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34346) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.153946 [ 45595 ] {6da27076-9601-4b73-85ff-64eaee03441a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.154661 [ 45594 ] {ec74e888-3337-447b-9b89-d34546bae124} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.162835 [ 45584 ] {7cfb68ad-2aab-4afb-a16e-55f746f068ad} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34354) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 31), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.164720 [ 45584 ] {7cfb68ad-2aab-4afb-a16e-55f746f068ad} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_35_35_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.636195 [ 45597 ] {f86fcf95-2609-4ef5-9403-c35062ffc553} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34446) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 33), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:13.637705 [ 45597 ] {f86fcf95-2609-4ef5-9403-c35062ffc553} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.631917 [ 45589 ] {94817e52-c04b-4f5b-869c-7dbf095c4ae2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47330) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.632020 [ 45595 ] {3a88c4e1-e83b-4526-b290-03296ec2ab45} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47320) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.631958 [ 45584 ] {d8e43ac1-8743-4d63-a959-32c971721210} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47324) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.631897 [ 45587 ] {da3fcd27-f6c3-4d92-91df-26851b1820e5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47350) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634268 [ 45589 ] {94817e52-c04b-4f5b-869c-7dbf095c4ae2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634308 [ 45595 ] {3a88c4e1-e83b-4526-b290-03296ec2ab45} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634370 [ 45587 ] {da3fcd27-f6c3-4d92-91df-26851b1820e5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634435 [ 45584 ] {d8e43ac1-8743-4d63-a959-32c971721210} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634583 [ 45588 ] {cdfc73df-3d0e-4014-b74e-c5a9b8710cf2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47326) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 34), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.634637 [ 45596 ] {b9061b0e-265a-494e-b80d-68757068c8d0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47334) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.636275 [ 45588 ] {cdfc73df-3d0e-4014-b74e-c5a9b8710cf2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.636441 [ 45596 ] {b9061b0e-265a-494e-b80d-68757068c8d0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.642169 [ 45585 ] {67d0768d-4352-49e4-b0bc-d7f9f9c15d60} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47354) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.644396 [ 45585 ] {67d0768d-4352-49e4-b0bc-d7f9f9c15d60} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.653316 [ 45594 ] {3064fdb3-c36e-40a6-8cb9-37df63a33468} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47362) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:14.655136 [ 45594 ] {3064fdb3-c36e-40a6-8cb9-37df63a33468} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:15.080823 [ 45595 ] {12cfb56e-ff6f-4e69-a23b-473e9d19750b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47448) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:15.082285 [ 45595 ] {12cfb56e-ff6f-4e69-a23b-473e9d19750b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_39_39_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:16.786879 [ 43111 ] {b4803d87-cc66-404f-a0c2-ab76db480e87} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47798) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:16.788496 [ 43111 ] {b4803d87-cc66-404f-a0c2-ab76db480e87} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.182733 [ 45594 ] {09728870-55ec-4da1-aebf-543b58add155} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47894) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.184267 [ 45595 ] {daa20089-55b7-4c68-87be-87a5072cf2cf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47918) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.185234 [ 43116 ] {b5951631-b775-4442-8410-4fa72bc3b9a8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47908) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.185527 [ 45594 ] {09728870-55ec-4da1-aebf-543b58add155} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.187111 [ 45595 ] {daa20089-55b7-4c68-87be-87a5072cf2cf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.188208 [ 45584 ] {bc32850a-bbaf-48a0-bffc-da1f5a51b702} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47922) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.189071 [ 43116 ] {b5951631-b775-4442-8410-4fa72bc3b9a8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.189980 [ 45584 ] {bc32850a-bbaf-48a0-bffc-da1f5a51b702} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.194713 [ 45588 ] {1bb94573-5857-4c61-9d0e-c26e033a4b4d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47932) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 40), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.196523 [ 45588 ] {1bb94573-5857-4c61-9d0e-c26e033a4b4d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.196900 [ 45589 ] {915706a7-044c-4a1a-b800-185a4493f921} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:47934) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 42), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.198097 [ 45589 ] {915706a7-044c-4a1a-b800-185a4493f921} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.608567 [ 43111 ] {5b582d5f-20dd-426e-8a09-1e19daa0e1a8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48046) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 42), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.610895 [ 43111 ] {5b582d5f-20dd-426e-8a09-1e19daa0e1a8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.628988 [ 43116 ] {82608090-52d8-4074-9e80-ea2640942e65} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48052) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:17.630508 [ 43116 ] {82608090-52d8-4074-9e80-ea2640942e65} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.686287 [ 45587 ] {df97ca96-52a5-4b3a-a354-a0e60b3720e8} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48556) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.686867 [ 45595 ] {d572dc4a-b4fc-47a9-8549-9857f10544a1} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48518) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.688251 [ 45585 ] {7417bc86-2178-483a-85c4-6a5a4bb0a1a4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48560) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 47), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.689154 [ 45587 ] {df97ca96-52a5-4b3a-a354-a0e60b3720e8} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.689390 [ 45585 ] {7417bc86-2178-483a-85c4-6a5a4bb0a1a4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.689913 [ 45595 ] {d572dc4a-b4fc-47a9-8549-9857f10544a1} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.733385 [ 45595 ] {9fc724ee-3e1e-4698-baf1-2f395eac05a2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48574) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:19.734837 [ 45595 ] {9fc724ee-3e1e-4698-baf1-2f395eac05a2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.201262 [ 45594 ] {a25946dd-a131-4d86-8d77-29f8bdb1c87a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49096) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.203068 [ 45594 ] {a25946dd-a131-4d86-8d77-29f8bdb1c87a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.208338 [ 45597 ] {6b7513d7-f52e-4a28-ab2d-d2f9002c458c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49106) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.208521 [ 45593 ] {d368a84b-bc90-424a-91ec-9e874a0e02fa} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49114) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 53), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.210080 [ 45593 ] {d368a84b-bc90-424a-91ec-9e874a0e02fa} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.210259 [ 45597 ] {6b7513d7-f52e-4a28-ab2d-d2f9002c458c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.214919 [ 43111 ] {632de58f-36ce-4cfc-8ac7-9c75c89f8a24} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49128) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.215807 [ 43116 ] {3839128f-a1c4-4f4c-a922-05be5bc8bbbb} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49132) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.215865 [ 45595 ] {dfb49e94-ec69-4937-a8a3-6fb12a43ec11} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49136) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.217335 [ 45595 ] {dfb49e94-ec69-4937-a8a3-6fb12a43ec11} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.217715 [ 45586 ] {93bfc581-d21e-417e-8005-3aadac98c49e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49140) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.217933 [ 45584 ] {98a16208-b58a-49ce-acaa-28d7e47a9f75} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49142) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.218268 [ 43116 ] {3839128f-a1c4-4f4c-a922-05be5bc8bbbb} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.217330 [ 43111 ] {632de58f-36ce-4cfc-8ac7-9c75c89f8a24} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.219302 [ 45586 ] {93bfc581-d21e-417e-8005-3aadac98c49e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.219600 [ 45584 ] {98a16208-b58a-49ce-acaa-28d7e47a9f75} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r2 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.621191 [ 45584 ] {b41cd5e6-1114-45b4-ab89-b2c93fc01c53} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_59_59_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49226) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:22.622720 [ 45584 ] {b41cd5e6-1114-45b4-ab89-b2c93fc01c53} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_59_59_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.145364 [ 45596 ] {b9c415df-9d93-4a67-ae2b-2a324c91830c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37804) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.147705 [ 45589 ] {66ffc42e-4f94-42f3-801f-f1e16f6b0407} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37788) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.148513 [ 45596 ] {b9c415df-9d93-4a67-ae2b-2a324c91830c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.148152 [ 45587 ] {57cd8c4b-f91a-4497-b0a4-1bae7167274f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37808) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.150139 [ 45589 ] {66ffc42e-4f94-42f3-801f-f1e16f6b0407} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.151847 [ 45587 ] {57cd8c4b-f91a-4497-b0a4-1bae7167274f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.176873 [ 45594 ] {f99d283e-fdde-493e-9480-21480df9e1cc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r5 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37810) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.178819 [ 45594 ] {f99d283e-fdde-493e-9480-21480df9e1cc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r5 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.569468 [ 45596 ] {7010fbbe-27cc-48b0-974c-94ce0f85bd2d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37878) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.570813 [ 45596 ] {7010fbbe-27cc-48b0-974c-94ce0f85bd2d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.585882 [ 45587 ] {f23f0238-2fba-445c-b7f8-46791d626e2e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37884) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.587319 [ 45587 ] {f23f0238-2fba-445c-b7f8-46791d626e2e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.587654 [ 45594 ] {508ef72b-5004-4e4f-8349-96b21f8df42e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37892) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.588947 [ 45594 ] {508ef72b-5004-4e4f-8349-96b21f8df42e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.608762 [ 45596 ] {66934294-f10e-4015-8bcb-79894b1e7234} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:37896) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:25.610176 [ 45596 ] {66934294-f10e-4015-8bcb-79894b1e7234} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.117318 [ 45584 ] {6089d0ee-2f18-447c-bccc-363256d58e73} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38440) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.117454 [ 45596 ] {3e4c31b7-90fb-4e2b-afc8-a661546ea427} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38460) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.117458 [ 45587 ] {e0bd2641-bd6f-4e40-ad3d-f438d059ed2e} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38470) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.117710 [ 45586 ] {8dd08438-025a-47d0-8f27-777bd2cfd0bf} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38432) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.117755 [ 43111 ] {c1c7927b-86cc-4bb8-a079-0f4f89cb6ceb} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38418) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.118069 [ 45588 ] {720eb192-d0db-42c8-aff9-ba986cfd3654} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38438) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.120005 [ 45594 ] {4f443862-2239-4e68-9329-77f9d81bb1d4} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38472) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.120567 [ 45589 ] {95b266c1-75e5-4e36-bd70-a4b2fc5d92cd} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38452) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.120807 [ 45584 ] {6089d0ee-2f18-447c-bccc-363256d58e73} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.121290 [ 45596 ] {3e4c31b7-90fb-4e2b-afc8-a661546ea427} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.122144 [ 45587 ] {e0bd2641-bd6f-4e40-ad3d-f438d059ed2e} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.122219 [ 45586 ] {8dd08438-025a-47d0-8f27-777bd2cfd0bf} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.122478 [ 45588 ] {720eb192-d0db-42c8-aff9-ba986cfd3654} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.122573 [ 43111 ] {c1c7927b-86cc-4bb8-a079-0f4f89cb6ceb} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.123704 [ 45589 ] {95b266c1-75e5-4e36-bd70-a4b2fc5d92cd} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:28.123807 [ 45594 ] {4f443862-2239-4e68-9329-77f9d81bb1d4} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x1f71cb8f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1106: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f701368 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.324991 [ 45594 ] {b6114e12-0759-41db-8b1a-b27f042eee0a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38892) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.326732 [ 45594 ] {b6114e12-0759-41db-8b1a-b27f042eee0a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.341263 [ 45593 ] {678c39c1-3a45-486d-8359-37a38a78976a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38894) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.344622 [ 45584 ] {03bc3822-a19a-471c-afc8-078c00cd85bf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38906) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.346085 [ 45584 ] {03bc3822-a19a-471c-afc8-078c00cd85bf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.348376 [ 45589 ] {fd815a52-e9d7-4f80-851e-600c8c9d0c54} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r6 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:38910) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.349989 [ 45589 ] {fd815a52-e9d7-4f80-851e-600c8c9d0c54} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r6 r7 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.350078 [ 45593 ] {678c39c1-3a45-486d-8359-37a38a78976a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_85_85_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.715239 [ 45589 ] {788f1d2f-342d-407f-939c-917dd985cd8b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39012) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.715588 [ 43111 ] {5559ce05-a45c-4339-940a-99881b7960df} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39020) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.716552 [ 45589 ] {788f1d2f-342d-407f-939c-917dd985cd8b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.717174 [ 43111 ] {5559ce05-a45c-4339-940a-99881b7960df} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.728389 [ 43116 ] {a83f38f3-733a-48c2-bd08-ab9c12695b67} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39036) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.728568 [ 45595 ] {f2c89ad9-7b5e-48b7-9816-6be246d9f621} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39050) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.729957 [ 43116 ] {a83f38f3-733a-48c2-bd08-ab9c12695b67} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.730091 [ 45595 ] {f2c89ad9-7b5e-48b7-9816-6be246d9f621} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.741921 [ 45589 ] {9edb0e9d-95cf-455c-ae32-40070ade62fc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39060) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.743701 [ 45589 ] {9edb0e9d-95cf-455c-ae32-40070ade62fc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.756454 [ 45594 ] {2fe97c74-b88b-4525-bc43-e07f19e64247} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39064) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:30.758187 [ 45594 ] {2fe97c74-b88b-4525-bc43-e07f19e64247} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.146059 [ 45584 ] {51f7afe9-d655-4f0d-8c69-ac1a0e9f96e3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39152) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.147471 [ 45584 ] {51f7afe9-d655-4f0d-8c69-ac1a0e9f96e3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.182540 [ 45594 ] {fd705340-ed36-4005-9fcb-f95685109177} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39160) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.184247 [ 45594 ] {fd705340-ed36-4005-9fcb-f95685109177} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.191751 [ 45584 ] {3fe2a1a7-2de2-41db-a126-5ac40afc2118} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39170) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:31.193278 [ 45584 ] {3fe2a1a7-2de2-41db-a126-5ac40afc2118} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.856855 [ 43116 ] {781c0fd1-eb3c-48c0-9cbc-b5241545c91e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39558) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 78), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.857184 [ 43111 ] {f263c07c-50a0-47ca-898d-4119f0cdea9a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39552) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 79), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.858106 [ 43116 ] {781c0fd1-eb3c-48c0-9cbc-b5241545c91e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.859149 [ 43111 ] {f263c07c-50a0-47ca-898d-4119f0cdea9a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.865694 [ 45595 ] {c0299383-d924-4e6a-bc95-10796161916f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39566) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 79), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.866824 [ 45595 ] {c0299383-d924-4e6a-bc95-10796161916f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.886478 [ 43111 ] {a33b645b-6e46-46ab-9ae1-ac8fbb6abc04} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39568) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 79), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:32.888291 [ 43111 ] {a33b645b-6e46-46ab-9ae1-ac8fbb6abc04} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.288758 [ 43116 ] {6efd3b77-77ca-4d8f-9434-b09187b5005d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_92_92_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39662) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 80), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.290900 [ 43116 ] {6efd3b77-77ca-4d8f-9434-b09187b5005d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_92_92_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.727594 [ 45595 ] {25097deb-74af-4376-9969-fad5e32eb2a1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39772) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 80), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.727646 [ 45586 ] {43b50e65-1e93-436d-a641-41cb9fc5ccaf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39786) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 81), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.728347 [ 43116 ] {f1ec0fda-951d-4459-9b1a-aed58789419e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39788) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 80), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.728941 [ 45595 ] {25097deb-74af-4376-9969-fad5e32eb2a1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.729196 [ 45586 ] {43b50e65-1e93-436d-a641-41cb9fc5ccaf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:33.729678 [ 43116 ] {f1ec0fda-951d-4459-9b1a-aed58789419e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.125854 [ 45586 ] {50189d48-f9b2-42aa-b24f-a6066ccc455e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39872) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 81), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.127853 [ 45586 ] {50189d48-f9b2-42aa-b24f-a6066ccc455e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.541801 [ 45586 ] {6f4f54c7-9b26-49e5-bbe8-d68131d571c9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56644) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 81), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.637667 [ 45586 ] {6f4f54c7-9b26-49e5-bbe8-d68131d571c9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.683713 [ 45587 ] {ba261616-2b7b-4a6e-9970-1c86689f4ffb} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56654) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.687320 [ 45587 ] {ba261616-2b7b-4a6e-9970-1c86689f4ffb} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.688418 [ 45586 ] {b590b4b1-57b0-465e-a5f9-c56f12c5d661} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56664) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.692037 [ 45586 ] {b590b4b1-57b0-465e-a5f9-c56f12c5d661} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.701710 [ 45595 ] {17cd66c8-984e-4814-90a4-cb2faccfb835} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56680) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.704088 [ 45595 ] {17cd66c8-984e-4814-90a4-cb2faccfb835} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.740402 [ 45597 ] {41dff328-10d9-4f23-9167-65ea6bf25b15} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56684) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.741403 [ 45587 ] {0977a590-4bdb-45fe-bbae-edeaeb206041} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56692) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.741475 [ 45594 ] {31ec440d-95ae-4835-a194-6edfeead7a25} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56688) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.743447 [ 45594 ] {31ec440d-95ae-4835-a194-6edfeead7a25} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.743596 [ 45587 ] {0977a590-4bdb-45fe-bbae-edeaeb206041} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:34.743712 [ 45597 ] {41dff328-10d9-4f23-9167-65ea6bf25b15} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_95_95_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:35.190775 [ 45595 ] {d92a9f40-b1a3-4006-82dc-0ab2a7eb78fe} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56796) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:35.193414 [ 45595 ] {d92a9f40-b1a3-4006-82dc-0ab2a7eb78fe} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:35.735348 [ 45586 ] {5b76a9da-98f5-42f7-92e3-5c69f5ea36d7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56892) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 84), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:35.736683 [ 45586 ] {5b76a9da-98f5-42f7-92e3-5c69f5ea36d7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r2 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.526979 [ 45586 ] {fb7b54f5-a700-4703-b30a-cfcfa4d23e83} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57052) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 86), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.529210 [ 45586 ] {fb7b54f5-a700-4703-b30a-cfcfa4d23e83} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.529573 [ 45587 ] {0c616d09-3bea-4666-b06b-bb379065be8e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57064) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 86), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.530842 [ 45587 ] {0c616d09-3bea-4666-b06b-bb379065be8e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.539454 [ 45597 ] {02aaf962-de5d-4e47-b0cb-654e620ef0f9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57080) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.540822 [ 45597 ] {02aaf962-de5d-4e47-b0cb-654e620ef0f9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.543063 [ 45594 ] {1532bcb0-e8d4-4e13-bcbe-df14e2f09a2e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57086) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 85), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.545339 [ 45594 ] {1532bcb0-e8d4-4e13-bcbe-df14e2f09a2e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.582847 [ 45594 ] {555adfbe-7f86-4ea1-83c3-284ecfa837f5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57094) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.584642 [ 45594 ] {555adfbe-7f86-4ea1-83c3-284ecfa837f5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.589787 [ 45584 ] {a42bef3e-f83e-4342-bb57-45d23b87fd30} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57110) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.589838 [ 45593 ] {27650dda-12e9-4ddc-800f-33e3b1e210ff} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57096) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.591517 [ 45584 ] {a42bef3e-f83e-4342-bb57-45d23b87fd30} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:36.591538 [ 45593 ] {27650dda-12e9-4ddc-800f-33e3b1e210ff} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_99_99_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r10 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:37.974458 [ 43111 ] {17240c91-5f63-4177-b062-73e40a2e7ea5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57386) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:37.976578 [ 43111 ] {17240c91-5f63-4177-b062-73e40a2e7ea5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:37.978861 [ 43116 ] {574af597-1da7-4a22-91be-b3fd3f477ad0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57394) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:37.980954 [ 43116 ] {574af597-1da7-4a22-91be-b3fd3f477ad0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.015781 [ 45595 ] {3c7596b4-bf34-4d98-92c3-60b8bc8363e1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r2 r6 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57396) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.016133 [ 43111 ] {b6758ea1-fbf5-421c-b334-97ae6fa28698} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r2 r6 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57410) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 90), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.017218 [ 45595 ] {3c7596b4-bf34-4d98-92c3-60b8bc8363e1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r2 r6 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.017373 [ 43111 ] {b6758ea1-fbf5-421c-b334-97ae6fa28698} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r2 r6 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.836209 [ 43116 ] {f5b888bf-bbb9-4b3a-9d9a-fe3917ea8b2e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_104_104_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57550) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 92), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.837680 [ 43116 ] {f5b888bf-bbb9-4b3a-9d9a-fe3917ea8b2e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_104_104_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.851200 [ 45595 ] {164f00bf-7f07-4219-8443-5e98d2726c91} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_104_104_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57556) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 90), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:38.852805 [ 45595 ] {164f00bf-7f07-4219-8443-5e98d2726c91} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_104_104_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.214371 [ 45596 ] {10b8b4c4-73fc-4a9d-a98b-fd3c9d994570} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_105_105_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57644) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 93), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.216159 [ 45596 ] {10b8b4c4-73fc-4a9d-a98b-fd3c9d994570} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_105_105_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.217045 [ 45594 ] {bf88e925-36a7-41cb-9bfd-e4736af3350e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_105_105_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57646) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 90), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.218599 [ 45594 ] {bf88e925-36a7-41cb-9bfd-e4736af3350e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_105_105_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.636222 [ 45597 ] {59c11eba-a004-4be5-ba59-2510a53a41d6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_106_106_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57734) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.637785 [ 45597 ] {59c11eba-a004-4be5-ba59-2510a53a41d6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_106_106_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r1 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.661863 [ 45588 ] {dfd283ba-9d6c-4a23-89ff-5f88269a868c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_106_106_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r3 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57736) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 90), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:39.663416 [ 45588 ] {dfd283ba-9d6c-4a23-89ff-5f88269a868c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_106_106_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r3 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.070870 [ 45587 ] {91a001ef-e6c7-47ba-90ff-982b2de425b5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_107_107_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57846) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 95), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.072481 [ 45587 ] {91a001ef-e6c7-47ba-90ff-982b2de425b5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_107_107_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.132812 [ 45587 ] {88e3b17d-6df8-4651-bdfc-106cad094317} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_107_107_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57854) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.134923 [ 45587 ] {88e3b17d-6df8-4651-bdfc-106cad094317} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_107_107_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.538665 [ 45597 ] {67c08027-e8cd-484b-a3b0-050c367fcec1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57980) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 95), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.540217 [ 45597 ] {67c08027-e8cd-484b-a3b0-050c367fcec1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.575227 [ 45593 ] {a286dc33-d176-4a6a-8505-d052a88cceb5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58004) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 95), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.575405 [ 45594 ] {09f86fb5-bd65-43be-8208-6f85eca33f27} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57994) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 96), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.576601 [ 45593 ] {a286dc33-d176-4a6a-8505-d052a88cceb5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:40.576975 [ 45594 ] {09f86fb5-bd65-43be-8208-6f85eca33f27} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_108_108_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:41.363379 [ 45596 ] {47636fbd-6126-4fd2-8f73-87196f9da2b9} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_110_110_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58168) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 98), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:41.364659 [ 45596 ] {47636fbd-6126-4fd2-8f73-87196f9da2b9} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_110_110_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:41.785022 [ 45597 ] {0d7997c4-46fa-4bf6-809d-4cb86006e375} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_111_111_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r5 r6 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58258) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 99), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:41.786177 [ 45597 ] {0d7997c4-46fa-4bf6-809d-4cb86006e375} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_111_111_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r5 r6 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0xcc71939 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:357: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x1f6ffd37 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x1f713f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:408: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fb286 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:17:53.422502 [ 829 ] {} test_0hfxae81.r1 (ReplicatedMergeTreeCleanupThread): Will mark replica 2r1 as lost, because it has stale log pointer: log-0000000000 2024.03.19 13:18:18.575864 [ 774 ] {} test_0hfxae81.r2 (8a3499e8-b04b-4689-abeb-13f0cc23b0b0): Will mimic 1r1 2024.03.19 13:19:04.054218 [ 894 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:04.360263 [ 890 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:04.846509 [ 885 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:05.154923 [ 879 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:05.654577 [ 881 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:06.777420 [ 890 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:07.049852 [ 893 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:08.017108 [ 882 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:08.605741 [ 880 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:09.730822 [ 894 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:09.967596 [ 886 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:10.119239 [ 891 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:10.765403 [ 879 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:11.417630 [ 882 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7556f6 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7442d5 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc743045 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc742300 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:12.068581 [ 880 ] {} test_jj4yxl2j.mutation_table (ReplicatedMergeTreeQueue): Mutation with version 1 not found in partition ID 0 (trying to mutate part 0_0_0_0) 2024.03.19 13:19:12.507731 [ 881 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0_1/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7311d8 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7204fc in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71f265 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71e520 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:13.157873 [ 884 ] {} abbc96bc-db47-4516-8c10-e090f9e2aa92::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/abb/abbc96bc-db47-4516-8c10-e090f9e2aa92/0_0_0_0_1/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0xc6b0625 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0xc7311d8 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0xc7204fc in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71f265 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc71e520 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d650 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0xc68c833 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xc6bf9fc in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x1d3031ab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x1e5c80a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x1f54a9a5 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x1f55e2e5 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x1f6065fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x1f621f17 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:14.074300 [ 45596 ] {b3f1f454-e208-4d8f-9241-bee1dec4a5e0} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32840) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY x SET y = max(y) SETTINGS index_granularity = 60250, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.26564791798591614, merge_max_block_size = 767, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 2236304618, index_granularity_bytes = 8127780), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c82d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.075287 [ 45596 ] {b3f1f454-e208-4d8f-9241-bee1dec4a5e0} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c82d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.089338 [ 45596 ] {f143da2c-634b-467a-9fa7-539aa046834a} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32840) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY b SET y = max(y) SETTINGS index_granularity = 60250, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.26564791798591614, merge_max_block_size = 767, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 2236304618, index_granularity_bytes = 8127780), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c82d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.090076 [ 45596 ] {f143da2c-634b-467a-9fa7-539aa046834a} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c82d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.329753 [ 45596 ] {51fd4cc6-34a1-41bc-ab27-d8735f2fd2c7} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32840) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b, x SET y = max(y) SETTINGS index_granularity = 60250, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.26564791798591614, merge_max_block_size = 767, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 2236304618, index_granularity_bytes = 8127780), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c960 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.330758 [ 45596 ] {51fd4cc6-34a1-41bc-ab27-d8735f2fd2c7} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0xcefa262 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c960 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.576636 [ 45596 ] {a02ddf50-377c-49d1-a532-95b87380e73d} executeQuery: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:32840) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b SET y = max(y), y = max(y) SETTINGS index_granularity = 60250, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.26564791798591614, merge_max_block_size = 767, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 2236304618, index_granularity_bytes = 8127780), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c994 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:14.577685 [ 45596 ] {a02ddf50-377c-49d1-a532-95b87380e73d} TCPHandler: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0xff65e62 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5c994 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x1ef5d4ba in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:573: DB::create(DB::StorageFactory::Arguments const&) @ 0x1f7397e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x1c50dde3 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:0: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x1ec4362a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x1de982e0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e8f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:19:16.225061 [ 45596 ] {ab86deb1-5651-475a-becf-fd8a5ca39b90} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35636) (comment: 01268_dictionary_direct_layout.sql) (in query: SELECT dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x191da0cb in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x191cc86b in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191ceef8 in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf08e00 in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 29. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 30. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 2024.03.19 13:19:16.226281 [ 45596 ] {ab86deb1-5651-475a-becf-fd8a5ca39b90} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x1ccc28f4 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x1ccc23ef in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x1ccc259d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x1fca45c0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x191da0cb in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x191cc86b in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x191ceef8 in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0xcef743d in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcef3eb1 in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xcf08e00 in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68de43 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc68d6d0 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39ab in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f335e in /usr/bin/clickhouse 29. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f3933 in /usr/bin/clickhouse 30. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f45ec in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 2024.03.19 13:19:17.175697 [ 38014 ] {edeb04ea-baf4-4f64-ae4a-2a5eaee66561} ExternalDictionariesLoader: Could not load external dictionary '507b7da2-6abe-477a-81a7-7055553f7df4', next update is scheduled at 2024-03-19 13:19:22: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcafdd9b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcafda6a in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x18b9f8ac in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b9f05a in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ecb0 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7f4e1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:19:17.178872 [ 45594 ] {edeb04ea-baf4-4f64-ae4a-2a5eaee66561} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35648) (comment: 01257_dictionary_mismatch_types.sql) (in query: SELECT dictGet('test_dict_db.table1_dict', 'col6', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col7', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col8', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col9', (col1, col2, col3, col4, col5)) FROM test_dict_db.table1 WHERE dictHas('test_dict_db.table1_dict', (col1, col2, col3, col4, col5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcafdd9b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcafda6a in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x18b9f8ac in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b9f05a in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ecb0 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7f4e1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 13:19:17.180780 [ 45594 ] {edeb04ea-baf4-4f64-ae4a-2a5eaee66561} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0xc6b09c2 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0xcafdd9b in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0xcafda6a in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0xc69b2f2 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f39cf in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f46a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1c5f6086 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1d302157 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1fc8b46e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:144: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x1f9a9289 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x1f9bea84 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:0: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x1f9beda1 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x18b9f8ac in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b9f05a in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ecb0 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7f4e1 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 2024.03.19 13:20:37.262120 [ 45596 ] {6652056b-453a-4f1f-ac6a-b1a1808053f1} executeQuery: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40002) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.table TO test_01191.table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.262906 [ 45596 ] {6652056b-453a-4f1f-ac6a-b1a1808053f1} TCPHandler: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.442245 [ 45596 ] {3ad6aed6-4d08-4b69-bb90-a63ce121490b} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40002) (comment: 01191_rename_dictionary.sql) (in query: EXCHANGE DICTIONARIES test_01191._ AND test_01191.dict;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0xced5b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8e3e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.443037 [ 45596 ] {3ad6aed6-4d08-4b69-bb90-a63ce121490b} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0xced5b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8e3e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.515730 [ 45596 ] {7ab1239f-daeb-46d6-bfd6-f84ec66d999a} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40002) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.t TO test_01191.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0xced5b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8e3e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.516328 [ 45596 ] {7ab1239f-daeb-46d6-bfd6-f84ec66d999a} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0xced5b82 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8e3e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.690353 [ 45596 ] {927393ed-9239-402b-af1f-baa78bc56bbb} executeQuery: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40002) (comment: 01191_rename_dictionary.sql) (in query: DROP DICTIONARY test_01191.t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5cbce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:37.691102 [ 45596 ] {927393ed-9239-402b-af1f-baa78bc56bbb} TCPHandler: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5cbce in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:38.403595 [ 45596 ] {47abd2ab-62b8-4ae1-8280-d976e74d0ef9} executeQuery: Code: 60. DB::Exception: Table `test_iwzc12nk`.`t1` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40014) (comment: 01185_create_or_replace_table.sql) (in query: replace table t1 (n UInt64, s String) engine=MergeTree order by n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x1de956ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1269: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:38.404429 [ 45596 ] {47abd2ab-62b8-4ae1-8280-d976e74d0ef9} TCPHandler: Code: 60. DB::Exception: Table `test_iwzc12nk`.`t1` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x1de956ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1269: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90e6d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:49.758850 [ 45595 ] {c40e0122-615e-4c71-9102-f8ac3b3a1141} executeQuery: Code: 48. DB::Exception: Value 3 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36294) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x1dea118d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1641: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x1de9b685 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x1de93dce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1263: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:49.759726 [ 45595 ] {c40e0122-615e-4c71-9102-f8ac3b3a1141} TCPHandler: Code: 48. DB::Exception: Value 3 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x1dea118d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1641: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x1de9b685 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x1de93dce in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1263: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x1de90d7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1707: DB::InterpreterCreateQuery::execute() @ 0x1de9c6a8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:49.785229 [ 953 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000039: localhost:9000 and localhost:9000. Will use the first one only. 2024.03.19 13:20:49.786774 [ 953 ] {} DDLWorker: Cannot parse DDL task query-0000000039: Cannot parse query or obtain cluster info. Will try to send error status: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:20:50.021657 [ 45595 ] {0ab98d5f-cd2a-436c-a5fa-89bf135eed38} executeQuery: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.3.19.34.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36294) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:50.022254 [ 45595 ] {0ab98d5f-cd2a-436c-a5fa-89bf135eed38} TCPHandler: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.3.19.34.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x1e59c2b1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x1e597cf0 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x1f9947f5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:50.039572 [ 953 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000040: localhost:9000 and localhost:9000. Will use the first one only. 2024.03.19 13:20:50.163743 [ 953 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000041: localhost:9000 and localhost:9000. Will use the first one only. 2024.03.19 13:20:53.465470 [ 45595 ] {c40b9d0d-e5c4-4e72-97fe-97b21b4c0d13} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36356) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:53.466359 [ 45595 ] {c40b9d0d-e5c4-4e72-97fe-97b21b4c0d13} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.029952 [ 45595 ] {10b25f26-6259-41bc-a1c7-4eb54d9477df} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36378) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.030731 [ 45595 ] {10b25f26-6259-41bc-a1c7-4eb54d9477df} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.362992 [ 45595 ] {2d6b5414-94ec-47b3-9735-31d058e25027} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36410) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.363888 [ 45595 ] {2d6b5414-94ec-47b3-9735-31d058e25027} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.697917 [ 45595 ] {b7318b70-c0cd-473a-822b-dc6597cf31cb} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60314) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:54.698569 [ 45595 ] {b7318b70-c0cd-473a-822b-dc6597cf31cb} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:55.113485 [ 45595 ] {07145c85-aa44-4fe7-9683-1dc5770084ad} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60338) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:55.114130 [ 45595 ] {07145c85-aa44-4fe7-9683-1dc5770084ad} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:55.452408 [ 45595 ] {9b661170-ff9d-465d-b95b-f1884ae64c73} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60358) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:55.453109 [ 45595 ] {9b661170-ff9d-465d-b95b-f1884ae64c73} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.114618 [ 45595 ] {08fb128d-0b37-49b3-b7a2-652a92c357ad} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60392) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.115452 [ 45595 ] {08fb128d-0b37-49b3-b7a2-652a92c357ad} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.462063 [ 45595 ] {2d8dddd2-f0c7-4b16-b3c1-d8aec910f671} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60420) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.462827 [ 45595 ] {2d8dddd2-f0c7-4b16-b3c1-d8aec910f671} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.812897 [ 45595 ] {7be5f0a0-dcbb-4af0-b335-048f876faf80} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60446) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:56.813694 [ 45595 ] {7be5f0a0-dcbb-4af0-b335-048f876faf80} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:57.180892 [ 45595 ] {02a8402f-363a-4395-babf-f2b9c4ed9f49} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60464) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:57.181645 [ 45595 ] {02a8402f-363a-4395-babf-f2b9c4ed9f49} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:57.525902 [ 45595 ] {5fe74ee6-54b3-4c94-ad1c-043cf29b2f59} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60492) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:57.526839 [ 45595 ] {5fe74ee6-54b3-4c94-ad1c-043cf29b2f59} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.260792 [ 45595 ] {9d7ccaca-2b65-43e6-9a96-ae54da47cfa9} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60526) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.261437 [ 45595 ] {9d7ccaca-2b65-43e6-9a96-ae54da47cfa9} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.600240 [ 45595 ] {91d4681a-eb61-4c76-9603-7c6a84755e51} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60554) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.600891 [ 45595 ] {91d4681a-eb61-4c76-9603-7c6a84755e51} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.942595 [ 45595 ] {3ed739a2-18e9-4ee4-90b4-08cef1033576} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60568) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:58.943282 [ 45595 ] {3ed739a2-18e9-4ee4-90b4-08cef1033576} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:59.277618 [ 45595 ] {93eb2bdc-6d2e-4e54-ade3-c6434d68f113} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60582) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:59.278340 [ 45595 ] {93eb2bdc-6d2e-4e54-ade3-c6434d68f113} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:59.611157 [ 45595 ] {9e501fa6-f68a-441f-b26b-8c3916337f78} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60588) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:20:59.612024 [ 45595 ] {9e501fa6-f68a-441f-b26b-8c3916337f78} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:00.346598 [ 45595 ] {9d7482a2-dd9d-4ad4-ac77-98a589fdaf31} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60628) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:00.347241 [ 45595 ] {9d7482a2-dd9d-4ad4-ac77-98a589fdaf31} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:00.683695 [ 45595 ] {39349710-825d-4f07-a75c-78ed184bdb30} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60644) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:00.684530 [ 45595 ] {39349710-825d-4f07-a75c-78ed184bdb30} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.031146 [ 45595 ] {42eb89c8-2456-48f9-b253-832922f5c8c5} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60652) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.031921 [ 45595 ] {42eb89c8-2456-48f9-b253-832922f5c8c5} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.380453 [ 45595 ] {f30b994c-ec1a-4322-8658-3a9517b45aa9} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60666) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.381172 [ 45595 ] {f30b994c-ec1a-4322-8658-3a9517b45aa9} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.789373 [ 45595 ] {26f2a551-ee71-47e1-a3c4-08e364f82462} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60682) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:01.790193 [ 45595 ] {26f2a551-ee71-47e1-a3c4-08e364f82462} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:02.524209 [ 45595 ] {61ff212a-eaf5-41ea-9747-f7c840c97856} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60718) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:02.525027 [ 45595 ] {61ff212a-eaf5-41ea-9747-f7c840c97856} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:02.872781 [ 45595 ] {5881f702-1ef6-4cf1-ab87-266eb16236fa} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60726) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:02.873508 [ 45595 ] {5881f702-1ef6-4cf1-ab87-266eb16236fa} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:03.311701 [ 45595 ] {5cb8f211-cac7-4251-be64-f3cf53cf9475} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60748) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:03.312595 [ 45595 ] {5cb8f211-cac7-4251-be64-f3cf53cf9475} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:03.672192 [ 45595 ] {d515b4d7-46f7-45c8-a624-7d214a1186ba} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60750) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:03.672986 [ 45595 ] {d515b4d7-46f7-45c8-a624-7d214a1186ba} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.027408 [ 45595 ] {85d1aa10-210a-477f-bad9-1d7ae5ac905f} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60760) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.028127 [ 45595 ] {85d1aa10-210a-477f-bad9-1d7ae5ac905f} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.384898 [ 45595 ] {d789abef-0cd1-4d32-aef9-8ed36062e2b4} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:60778) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.385791 [ 45595 ] {d789abef-0cd1-4d32-aef9-8ed36062e2b4} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.734655 [ 45595 ] {66dc67bc-e522-4fcf-b38b-f8de79424a8c} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48082) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:04.735435 [ 45595 ] {66dc67bc-e522-4fcf-b38b-f8de79424a8c} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:05.073844 [ 45595 ] {f5c4f196-7097-429e-85b4-2d1b4e9699aa} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48110) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:05.074561 [ 45595 ] {f5c4f196-7097-429e-85b4-2d1b4e9699aa} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:05.774430 [ 45595 ] {5a31d769-2e5d-4dc1-a4dc-b8113c16d96c} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48140) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:05.775627 [ 45595 ] {5a31d769-2e5d-4dc1-a4dc-b8113c16d96c} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.128032 [ 45595 ] {8df2fe32-6ec4-4186-9112-ae091cc0d413} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48150) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.128777 [ 45595 ] {8df2fe32-6ec4-4186-9112-ae091cc0d413} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.502036 [ 45595 ] {9071cb5e-c1a7-49ad-84f2-b67bee238353} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48170) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.502931 [ 45595 ] {9071cb5e-c1a7-49ad-84f2-b67bee238353} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.855993 [ 45595 ] {7a76ffcb-8bb9-4bd8-bae7-3ba645e0266e} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48188) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:06.856992 [ 45595 ] {7a76ffcb-8bb9-4bd8-bae7-3ba645e0266e} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:07.230575 [ 45595 ] {2abfbe65-1522-481d-a977-e296d8fbb17b} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48202) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:07.231323 [ 45595 ] {2abfbe65-1522-481d-a977-e296d8fbb17b} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:07.889240 [ 45595 ] {eda57dff-a593-45ae-850f-e761aad0970e} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48232) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:07.890310 [ 45595 ] {eda57dff-a593-45ae-850f-e761aad0970e} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.239259 [ 45595 ] {54c3617d-9150-46ab-be97-4f6efef1f41f} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48248) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.240021 [ 45595 ] {54c3617d-9150-46ab-be97-4f6efef1f41f} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.573792 [ 45595 ] {9198f456-12fe-4425-94a2-fee473f85fe9} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48262) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.575439 [ 45595 ] {9198f456-12fe-4425-94a2-fee473f85fe9} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.910022 [ 45595 ] {7bc28b94-bb5f-430c-aef1-1d7c557ce506} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48270) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:08.910766 [ 45595 ] {7bc28b94-bb5f-430c-aef1-1d7c557ce506} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:09.257432 [ 45595 ] {9c64970e-0f8c-4633-9603-403d2bb5dc92} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48292) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:09.258383 [ 45595 ] {9c64970e-0f8c-4633-9603-403d2bb5dc92} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:09.923552 [ 45595 ] {b781b50d-d43c-4043-ae7a-89264af02ba3} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48332) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:09.924323 [ 45595 ] {b781b50d-d43c-4043-ae7a-89264af02ba3} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.258096 [ 45595 ] {ec9c4f5e-2c1f-4c8b-bc86-36d0bf049662} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48344) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.258821 [ 45595 ] {ec9c4f5e-2c1f-4c8b-bc86-36d0bf049662} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.580127 [ 45595 ] {a4d3b0cb-cfe6-4937-8e7d-0a7701ec5089} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48362) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.581026 [ 45595 ] {a4d3b0cb-cfe6-4937-8e7d-0a7701ec5089} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.916196 [ 45595 ] {828c5e8e-381b-4774-88de-a682965ea5fe} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48374) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:10.916954 [ 45595 ] {828c5e8e-381b-4774-88de-a682965ea5fe} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:11.252109 [ 45595 ] {467bde52-f1fa-46c7-944c-4c464941531e} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48392) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:11.253144 [ 45595 ] {467bde52-f1fa-46c7-944c-4c464941531e} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:11.980078 [ 45595 ] {2ddc2a38-0c7a-47d4-8c05-4458f684866f} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48420) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:11.981117 [ 45595 ] {2ddc2a38-0c7a-47d4-8c05-4458f684866f} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:12.320014 [ 45595 ] {b8131aa4-f7f9-405b-a602-db699499afda} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48430) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:12.320638 [ 45595 ] {b8131aa4-f7f9-405b-a602-db699499afda} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:12.655104 [ 45595 ] {919cfc98-7792-4e87-8dc9-5e2af53a5524} executeQuery: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:48450) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:21:12.655684 [ 45595 ] {919cfc98-7792-4e87-8dc9-5e2af53a5524} TCPHandler: Code: 81. DB::Exception: Database test_01150 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f3d in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:08.150929 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.03.19 13:22:08.151102 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.03.19 13:22:08.151182 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to mysql failed 1 times 2024.03.19 13:22:08.151527 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.03.19 13:22:08.151639 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.03.19 13:22:08.151692 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to mysql failed 2 times 2024.03.19 13:22:08.152006 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.03.19 13:22:08.152114 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.03.19 13:22:08.152154 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} Application: Connection to mysql failed 3 times 2024.03.19 13:22:08.571083 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} executeQuery: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x2366807e in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x1def0c87 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x1deee737 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x1deee0d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x1deedc12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x1deb32c2 in /usr/bin/clickhouse 7. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deacf5d in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:105: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaad73 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:269: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7e4c9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51588) (comment: 01114_mysql_database_engine_segfault.sql) (in query: CREATE DATABASE conv_main ENGINE = MySQL('127.0.0.1:3456', conv_main, 'metrika', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:261: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaf33e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:105: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaad73 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:269: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7e4c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:08.572230 [ 45595 ] {44c81d5d-f57b-4ec3-aafb-21ec2ed74914} TCPHandler: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x2366807e in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x1def0c87 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x1deee737 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x1deee0d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x1deedc12 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x1deb32c2 in /usr/bin/clickhouse 7. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deacf5d in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:105: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaad73 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:269: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7e4c9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:261: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaf33e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:105: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x1deaad73 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:269: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x1de7e4c9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x1de9c698 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.423236 [ 45595 ] {116f3321-401a-4c8e-a368-48bc9ba9dc5a} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t1 AND t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.423872 [ 45595 ] {116f3321-401a-4c8e-a368-48bc9ba9dc5a} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee8234 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.427610 [ 45595 ] {b35cf887-e836-4d25-9369-098cfe4067e3} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t4 AND t2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.428187 [ 45595 ] {b35cf887-e836-4d25-9369-098cfe4067e3} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.431422 [ 45595 ] {9be00ce5-d18a-45c4-873a-f2fe5bcb9003} executeQuery: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0 TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.431985 [ 45595 ] {9be00ce5-d18a-45c4-873a-f2fe5bcb9003} TCPHandler: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.850321 [ 45595 ] {2669211a-2e4f-46a1-b461-e368466d3a3c} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_other_atomic.t3 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee7f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:09.851182 [ 45595 ] {2669211a-2e4f-46a1-b461-e368466d3a3c} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee7f67 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.030764 [ 45595 ] {d161d557-18a5-45bc-9274-e332522c7a91} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_other_atomic.t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.031557 [ 45595 ] {d161d557-18a5-45bc-9274-e332522c7a91} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.035599 [ 45595 ] {2125c030-fe4a-46e1-93aa-91baa8517622} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.036302 [ 45595 ] {2125c030-fe4a-46e1-93aa-91baa8517622} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0xda0b822 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1ced838b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.112615 [ 45595 ] {7d39e879-f9f3-4a83-ba1c-6b9befde5bb7} executeQuery: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51596) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0_tmp TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:10.113240 [ 45595 ] {7d39e879-f9f3-4a83-ba1c-6b9befde5bb7} TCPHandler: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x1cf3fd0e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x1cee80f6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a95fb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.659870 [ 45595 ] {7af5bea1-237c-4743-9440-b77d6757ccd8} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56294) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.661212 [ 45595 ] {7af5bea1-237c-4743-9440-b77d6757ccd8} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.770603 [ 45595 ] {5162d475-e5c2-41a0-ad0f-a3d7bdc8cb2d} executeQuery: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56304) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.771895 [ 45595 ] {5162d475-e5c2-41a0-ad0f-a3d7bdc8cb2d} TCPHandler: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.989040 [ 45595 ] {70cf9976-547b-4e00-804f-b841ec3f9ed2} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56314) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:17.990229 [ 45595 ] {70cf9976-547b-4e00-804f-b841ec3f9ed2} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.507752 [ 45595 ] {e1fc86ca-639c-496b-bc3b-a863ba8902a5} executeQuery: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56338) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1 TO replica_01108_1_tmp, replica_01108_2 TO replica_01108_2_tmp, replica_01108_3 TO replica_01108_3_tmp, replica_01108_4 TO replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.509113 [ 45595 ] {e1fc86ca-639c-496b-bc3b-a863ba8902a5} TCPHandler: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.677644 [ 45595 ] {3e3aa097-b30c-4f12-8e1b-6d050da8a9b7} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56350) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.679129 [ 45595 ] {3e3aa097-b30c-4f12-8e1b-6d050da8a9b7} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.998284 [ 45595 ] {fe464609-7e94-4520-9baa-987e5a55c679} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56364) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:18.999537 [ 45595 ] {fe464609-7e94-4520-9baa-987e5a55c679} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.302553 [ 45595 ] {2641b895-cd2c-4c1f-bb89-485d3ebe5a14} executeQuery: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56380) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.303927 [ 45595 ] {2641b895-cd2c-4c1f-bb89-485d3ebe5a14} TCPHandler: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.316977 [ 45595 ] {ee064089-a23e-49eb-ba17-f148dbe03e4d} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56398) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.318174 [ 45595 ] {ee064089-a23e-49eb-ba17-f148dbe03e4d} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.778049 [ 45595 ] {bd95ac34-cb68-4faf-b7ff-3c0f1bdc2f95} executeQuery: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56424) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1 TO replica_01108_1_tmp, replica_01108_2 TO replica_01108_2_tmp, replica_01108_3 TO replica_01108_3_tmp, replica_01108_4 TO replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:19.779311 [ 45595 ] {bd95ac34-cb68-4faf-b7ff-3c0f1bdc2f95} TCPHandler: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:20.569810 [ 45595 ] {fadb0088-f395-436b-b44b-fd1162a6448b} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56480) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:20.571079 [ 45595 ] {fadb0088-f395-436b-b44b-fd1162a6448b} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.036793 [ 45595 ] {ba68c644-08b5-4488-b097-b6a3d5cc37f6} executeQuery: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56492) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.038304 [ 45595 ] {ba68c644-08b5-4488-b097-b6a3d5cc37f6} TCPHandler: Code: 57. DB::Exception: Table test_04i4b714.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x1c8a05ca in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:584: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x1d2926a4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x1e0a8f10 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x1e0a7969 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.248822 [ 45595 ] {e48aad55-2f32-4fb8-a726-c6324064f772} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56506) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.250105 [ 45595 ] {e48aad55-2f32-4fb8-a726-c6324064f772} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.589065 [ 45595 ] {2c8f4805-2008-43c5-a613-35577662a661} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56516) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:21.590381 [ 45595 ] {2c8f4805-2008-43c5-a613-35577662a661} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:22.260817 [ 45595 ] {a0c22c05-4d5e-4e8b-a5b2-0cbab9091ace} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56552) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:22.262194 [ 45595 ] {a0c22c05-4d5e-4e8b-a5b2-0cbab9091ace} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:22.584260 [ 45595 ] {ef5bf016-cccf-4d86-aeca-e917e40d6a27} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56566) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:22.585381 [ 45595 ] {ef5bf016-cccf-4d86-aeca-e917e40d6a27} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:23.289364 [ 45595 ] {5f3b6833-63d6-4c20-b676-05c6d652a3ac} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56610) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:23.290538 [ 45595 ] {5f3b6833-63d6-4c20-b676-05c6d652a3ac} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_1 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:23.965895 [ 45595 ] {1754ea96-b030-4950-ac68-153d832eed77} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56660) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:23.967780 [ 45595 ] {1754ea96-b030-4950-ac68-153d832eed77} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.309657 [ 45595 ] {8910fd42-4dab-4576-944c-04b8d8ca42d9} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56670) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.311055 [ 45595 ] {8910fd42-4dab-4576-944c-04b8d8ca42d9} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.663920 [ 45595 ] {f7d99085-8b61-42c8-92cf-5e710a4879be} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41888) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.665182 [ 45595 ] {f7d99085-8b61-42c8-92cf-5e710a4879be} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.988488 [ 45595 ] {115fc31a-d366-4bfa-8421-3be0b148f773} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41908) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:24.989674 [ 45595 ] {115fc31a-d366-4bfa-8421-3be0b148f773} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:25.302114 [ 45595 ] {cf97b0a1-4249-45c8-b00e-6fbb63d519ba} executeQuery: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41920) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:25.303272 [ 45595 ] {cf97b0a1-4249-45c8-b00e-6fbb63d519ba} TCPHandler: Code: 36. DB::Exception: Table test_04i4b714.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x1e19e185 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:534: DB::InterpreterSystemQuery::execute() @ 0x1e18fcc7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:27.666074 [ 45595 ] {40d6d13c-1533-48e6-8337-5c56a9359b58} executeQuery: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_1_tmp doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42006) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:27.667621 [ 45595 ] {40d6d13c-1533-48e6-8337-5c56a9359b58} TCPHandler: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_1_tmp doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:28.303788 [ 45595 ] {1cf422ba-ce86-4987-96f6-a23789596856} executeQuery: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_2_tmp doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42022) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:28.305155 [ 45595 ] {1cf422ba-ce86-4987-96f6-a23789596856} TCPHandler: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_2_tmp doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:28.952177 [ 45595 ] {1ddc289c-35d0-4c8f-9f3e-04af1d5a93e5} executeQuery: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_3_tmp doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42038) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:28.954355 [ 45595 ] {1ddc289c-35d0-4c8f-9f3e-04af1d5a93e5} TCPHandler: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_3_tmp doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:29.588522 [ 45595 ] {377f0f41-a617-418e-85c9-1a17917786bd} executeQuery: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_4_tmp doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:42054) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:29.590887 [ 45595 ] {377f0f41-a617-418e-85c9-1a17917786bd} TCPHandler: Code: 60. DB::Exception: Table test_04i4b714.replica_01108_4_tmp doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x1e19a1cb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x1e18fbad in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.607125 [ 49295 ] {4486a736-bfe2-4fd8-9fa8-e12b724a2efc} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43376) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.608569 [ 49295 ] {4486a736-bfe2-4fd8-9fa8-e12b724a2efc} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.939924 [ 49288 ] {da780cae-e019-4865-960f-133757ec69bc} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43412) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.939958 [ 49294 ] {94caffd9-a251-48f3-a7b7-fb3ca4b13f4d} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43416) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.941106 [ 49288 ] {da780cae-e019-4865-960f-133757ec69bc} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:38.941119 [ 49294 ] {94caffd9-a251-48f3-a7b7-fb3ca4b13f4d} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:39.646302 [ 49288 ] {931cfaa8-3e02-48e3-8ec9-352ad69e2d2a} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43532) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:39.647541 [ 49288 ] {931cfaa8-3e02-48e3-8ec9-352ad69e2d2a} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:39.892250 [ 49288 ] {6b7354cc-cfae-48cb-8211-4e353d0a7ff8} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43558) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:39.893505 [ 49288 ] {6b7354cc-cfae-48cb-8211-4e353d0a7ff8} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.199044 [ 49288 ] {fceaac92-068f-4d71-8d67-fbd4bbd008ec} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43634) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.200304 [ 49288 ] {fceaac92-068f-4d71-8d67-fbd4bbd008ec} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.245981 [ 49294 ] {a2c5629c-0139-4df3-a475-6ea993e1983c} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43648) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.247220 [ 49294 ] {a2c5629c-0139-4df3-a475-6ea993e1983c} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.542419 [ 49288 ] {276e2fff-ea9a-4e57-a733-e3938851cc3e} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43682) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.543584 [ 49288 ] {276e2fff-ea9a-4e57-a733-e3938851cc3e} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.859050 [ 49288 ] {f499acdc-59a5-47b5-b52c-a1bc1f26eff9} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43754) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:40.860375 [ 49288 ] {f499acdc-59a5-47b5-b52c-a1bc1f26eff9} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:41.426330 [ 49288 ] {6e22f773-b08e-43aa-89f0-cc6b653ed27d} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43858) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:41.427581 [ 49288 ] {6e22f773-b08e-43aa-89f0-cc6b653ed27d} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:41.708658 [ 49288 ] {bf7d80e9-fa12-488b-9564-a49cec265bef} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43896) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:41.709838 [ 49288 ] {bf7d80e9-fa12-488b-9564-a49cec265bef} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.048916 [ 49288 ] {e6b3204e-63d3-46d3-921b-991db72bae35} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43948) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.050269 [ 49288 ] {e6b3204e-63d3-46d3-921b-991db72bae35} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.067413 [ 49288 ] {d48e6576-7ea2-4f7e-a237-9fa0dac5c22f} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43972) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.068796 [ 49288 ] {d48e6576-7ea2-4f7e-a237-9fa0dac5c22f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.744363 [ 49295 ] {e28ffd44-9953-44f3-9215-78b903d5cd6e} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44050) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.746258 [ 49295 ] {e28ffd44-9953-44f3-9215-78b903d5cd6e} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.978305 [ 49288 ] {9187ab79-76ec-4da6-b3fd-868c6b8b659d} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44154) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:42.979476 [ 49288 ] {9187ab79-76ec-4da6-b3fd-868c6b8b659d} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:43.363153 [ 49288 ] {06345475-0ebb-416c-b6b2-f539712279bc} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44212) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:43.364281 [ 49288 ] {06345475-0ebb-416c-b6b2-f539712279bc} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:43.876372 [ 49288 ] {cbed59a8-a69f-49c7-8b77-fc93631e49ed} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44330) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:43.878063 [ 49288 ] {cbed59a8-a69f-49c7-8b77-fc93631e49ed} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.329197 [ 49288 ] {05515192-ff2a-4169-8d78-c74157181625} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:44404) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.331200 [ 49288 ] {05515192-ff2a-4169-8d78-c74157181625} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.784509 [ 49294 ] {1eff1bdb-0936-4d39-aec2-f8735d50c1e7} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39838) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.791071 [ 49294 ] {1eff1bdb-0936-4d39-aec2-f8735d50c1e7} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.979285 [ 49295 ] {a1322980-ddfe-46c9-81bf-5d04e20509f2} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39864) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:44.980330 [ 49295 ] {a1322980-ddfe-46c9-81bf-5d04e20509f2} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.100266 [ 49294 ] {f5ccaf3e-4ba5-480b-8a53-1ace40d70a84} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39882) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.101461 [ 49294 ] {f5ccaf3e-4ba5-480b-8a53-1ace40d70a84} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.295921 [ 49294 ] {9dea6b53-89b2-487c-b4c7-2e94881added} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39894) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.297176 [ 49294 ] {9dea6b53-89b2-487c-b4c7-2e94881added} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.422938 [ 49294 ] {6c356680-f6fa-4e31-883e-150f94896176} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39918) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.424203 [ 49294 ] {6c356680-f6fa-4e31-883e-150f94896176} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.740822 [ 49294 ] {84db39d9-5d6e-4f23-a1da-f95c5704235b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:39986) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:45.742269 [ 49294 ] {84db39d9-5d6e-4f23-a1da-f95c5704235b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:46.780232 [ 49299 ] {03b1d508-cb18-4de4-8d63-14d8777abfc3} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40180) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:46.781373 [ 49299 ] {03b1d508-cb18-4de4-8d63-14d8777abfc3} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:46.849432 [ 49295 ] {dd5deb91-57b7-4bca-a1e1-bc6be82117e1} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40184) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:46.850565 [ 49295 ] {dd5deb91-57b7-4bca-a1e1-bc6be82117e1} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:47.767463 [ 49295 ] {3c15aeb2-97be-40f3-8a38-37cedc7fd296} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40338) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:47.768858 [ 49295 ] {3c15aeb2-97be-40f3-8a38-37cedc7fd296} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.386059 [ 49299 ] {c10fb0f8-9a80-4aae-b8d1-03a7a16d19a8} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40424) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.387360 [ 49299 ] {c10fb0f8-9a80-4aae-b8d1-03a7a16d19a8} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.503499 [ 49299 ] {7e6a1265-5894-498e-9b43-f7e671168446} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40452) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.504925 [ 49299 ] {7e6a1265-5894-498e-9b43-f7e671168446} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.578125 [ 49299 ] {03fea18c-41c0-4057-b532-3cfde2b1b6fa} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40468) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.579273 [ 49299 ] {03fea18c-41c0-4057-b532-3cfde2b1b6fa} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.817315 [ 49299 ] {743588bd-36f3-427c-adc2-fff9a4d9ceec} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40492) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:48.818766 [ 49299 ] {743588bd-36f3-427c-adc2-fff9a4d9ceec} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.270591 [ 49299 ] {50d9e18e-25fd-4301-af41-819e97c2fc7d} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40572) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.271796 [ 49299 ] {50d9e18e-25fd-4301-af41-819e97c2fc7d} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.741988 [ 49299 ] {02feddb1-c1aa-465d-8ced-ee19049083cf} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40642) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.743312 [ 49299 ] {02feddb1-c1aa-465d-8ced-ee19049083cf} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.919104 [ 49299 ] {c7990904-598d-4604-aad8-aa289decebf6} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40648) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:49.920230 [ 49299 ] {c7990904-598d-4604-aad8-aa289decebf6} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:50.234454 [ 49299 ] {9c24ad06-a3c8-4ff3-a593-123be83ff7bb} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40718) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:50.235859 [ 49299 ] {9c24ad06-a3c8-4ff3-a593-123be83ff7bb} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:50.543403 [ 49299 ] {834a2c90-6878-4523-8ecf-193aa0dd680a} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40754) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:50.544647 [ 49299 ] {834a2c90-6878-4523-8ecf-193aa0dd680a} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:50.902976 [ 880 ] {f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_4_31_24} f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_4_31_24 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_31_24 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:50.917522 [ 884 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_4_31_24} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_4_31_24 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_31_24 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:51.087529 [ 45595 ] {752de6aa-01c1-4601-94ca-bc90de526bef} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40860) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.088877 [ 45595 ] {752de6aa-01c1-4601-94ca-bc90de526bef} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.528099 [ 45595 ] {606ed4b8-1559-4ade-94c5-a38607963b06} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40924) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.529593 [ 45595 ] {606ed4b8-1559-4ade-94c5-a38607963b06} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.721238 [ 45595 ] {baa69002-84f2-4730-880b-3e0365930485} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:40954) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.722475 [ 45595 ] {baa69002-84f2-4730-880b-3e0365930485} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.984002 [ 26902 ] {67dbfd1a-2e14-4088-8fcd-3587bb50342b} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41006) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:51.985632 [ 26902 ] {67dbfd1a-2e14-4088-8fcd-3587bb50342b} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:52.636401 [ 879 ] {f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_4_36_27} f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_4_36_27 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_36_27 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:52.645748 [ 894 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_4_36_27} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_4_36_27 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_36_27 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:52.694525 [ 26902 ] {0864a0f4-1e1d-4b4f-8baa-2dc0dab0d40d} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41064) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:52.695574 [ 26902 ] {0864a0f4-1e1d-4b4f-8baa-2dc0dab0d40d} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:53.352565 [ 26902 ] {f8fe050a-bbfc-4d45-8af8-2a771d59d1ca} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41168) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:53.353699 [ 26902 ] {f8fe050a-bbfc-4d45-8af8-2a771d59d1ca} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:53.674532 [ 26902 ] {e97ee270-ae59-4973-9e96-20317d4688a5} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41232) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:53.675749 [ 26902 ] {e97ee270-ae59-4973-9e96-20317d4688a5} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:54.093976 [ 49284 ] {d1384b3b-e9be-45c2-b628-164e438e0259} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41274) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:54.095058 [ 49284 ] {d1384b3b-e9be-45c2-b628-164e438e0259} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:54.218035 [ 881 ] {387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_41_31} 387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_41_31 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_41_31 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:54.436455 [ 45596 ] {c999999b-7ddc-4ed9-8cd2-59704d1d35d0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:41344) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:54.438013 [ 45596 ] {c999999b-7ddc-4ed9-8cd2-59704d1d35d0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:55.322603 [ 49284 ] {1aaf4c6f-dc99-47ad-afa6-f3f50b262077} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49526) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:55.323773 [ 49284 ] {1aaf4c6f-dc99-47ad-afa6-f3f50b262077} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:55.671482 [ 49284 ] {59e71c14-4808-463b-803c-3f0e5681031a} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49588) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:55.672758 [ 49284 ] {59e71c14-4808-463b-803c-3f0e5681031a} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.341464 [ 49284 ] {0fae4643-974c-4e6f-9ea1-4ddecb023a5f} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49698) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.342764 [ 49284 ] {0fae4643-974c-4e6f-9ea1-4ddecb023a5f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.360696 [ 49284 ] {c7f524df-af03-4b8a-8f47-0c9179d186f1} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49712) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.361917 [ 49284 ] {c7f524df-af03-4b8a-8f47-0c9179d186f1} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.670360 [ 49284 ] {e655b53e-d696-49f9-9a7f-e8a82cb84574} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49750) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.671446 [ 49284 ] {e655b53e-d696-49f9-9a7f-e8a82cb84574} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.678641 [ 49287 ] {64d53165-e0ac-4167-a955-65ab8a6c7ca0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49762) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:56.680326 [ 49287 ] {64d53165-e0ac-4167-a955-65ab8a6c7ca0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.044263 [ 49284 ] {d3f36241-18fd-4f9d-9cfe-ee3b1c910382} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49810) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.045980 [ 49284 ] {d3f36241-18fd-4f9d-9cfe-ee3b1c910382} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.472267 [ 49284 ] {401de007-9739-4082-867e-686402914cf6} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49864) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.473839 [ 49284 ] {401de007-9739-4082-867e-686402914cf6} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.785909 [ 49284 ] {76ec826f-eda4-4157-81e6-b792051d5753} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49912) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:57.788178 [ 49284 ] {76ec826f-eda4-4157-81e6-b792051d5753} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.041898 [ 49284 ] {6c3da4ea-1742-4103-94e5-7688ecea5a0c} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49962) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.043317 [ 49284 ] {6c3da4ea-1742-4103-94e5-7688ecea5a0c} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.131154 [ 49284 ] {4a0b5d8f-3895-48cf-be0a-58888347c974} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:49984) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.132743 [ 49284 ] {4a0b5d8f-3895-48cf-be0a-58888347c974} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.733425 [ 49284 ] {1ce8cd83-0936-46b3-9b06-7b25fe6cec99} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50076) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.734963 [ 49284 ] {1ce8cd83-0936-46b3-9b06-7b25fe6cec99} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:58.885286 [ 894 ] {387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_49_39} 387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_49_39 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_49_39 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:59.078435 [ 49284 ] {5d64bc81-19f7-410d-835a-46d30497801b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50136) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.079731 [ 49284 ] {5d64bc81-19f7-410d-835a-46d30497801b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.370987 [ 49284 ] {15e206e5-8435-416b-b53c-5634f0058784} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50186) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.372532 [ 49284 ] {15e206e5-8435-416b-b53c-5634f0058784} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.458230 [ 49284 ] {156c5049-44a5-42bb-a4fc-7481a1fc2543} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50200) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.459679 [ 49284 ] {156c5049-44a5-42bb-a4fc-7481a1fc2543} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.498562 [ 890 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_50_40} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_50_40 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_50_40 from 3 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:22:59.961099 [ 49287 ] {5b4ff5ee-dc51-4759-95bb-7cce39b91e14} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50266) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:22:59.962513 [ 49287 ] {5b4ff5ee-dc51-4759-95bb-7cce39b91e14} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.305856 [ 49287 ] {990adf6f-f9a7-4d66-b72d-77c3703c42c3} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50330) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.307176 [ 49287 ] {990adf6f-f9a7-4d66-b72d-77c3703c42c3} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.463008 [ 49284 ] {de2fcc98-0c5d-4f1e-ab2d-9d17e12364bb} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50344) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.464734 [ 49284 ] {de2fcc98-0c5d-4f1e-ab2d-9d17e12364bb} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.643168 [ 49284 ] {30a00bb3-12af-4675-9a88-829ded54dc26} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50390) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.644391 [ 49284 ] {30a00bb3-12af-4675-9a88-829ded54dc26} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.820695 [ 49287 ] {c544ab39-c497-4e42-bd3b-738e2ec8f383} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50426) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:00.822459 [ 49287 ] {c544ab39-c497-4e42-bd3b-738e2ec8f383} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:01.129016 [ 49284 ] {2e4a50bd-7564-4ab0-bae2-c3f23f716f69} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50450) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:01.130740 [ 49284 ] {2e4a50bd-7564-4ab0-bae2-c3f23f716f69} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:01.195354 [ 880 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_54_43} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_54_43 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_54_43 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:23:01.480464 [ 882 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_55_43} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_55_43 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_55_43 from 3 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:23:01.495814 [ 49287 ] {60dfc992-23a2-4ee0-8d55-4cb3bd697345} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50518) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:01.497709 [ 49287 ] {60dfc992-23a2-4ee0-8d55-4cb3bd697345} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.178802 [ 49284 ] {a66fc2ce-8c9b-485c-b3ab-ba10c3a0ca11} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50610) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.180395 [ 49284 ] {a66fc2ce-8c9b-485c-b3ab-ba10c3a0ca11} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.188085 [ 49287 ] {37ed061d-54dc-4aa9-a54d-b177362b9c51} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50618) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.189384 [ 49287 ] {37ed061d-54dc-4aa9-a54d-b177362b9c51} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.499135 [ 49284 ] {88222fdf-f8bf-461a-b0b6-950f81a1d720} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50652) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.500652 [ 49284 ] {88222fdf-f8bf-461a-b0b6-950f81a1d720} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.545103 [ 49284 ] {bc21c2a7-fe1f-45c0-9e6b-895e3332f5c8} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50658) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:02.546403 [ 49284 ] {bc21c2a7-fe1f-45c0-9e6b-895e3332f5c8} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.312951 [ 49284 ] {eaad880d-6983-4f01-a9c9-67fb64b83793} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50788) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.314520 [ 49284 ] {eaad880d-6983-4f01-a9c9-67fb64b83793} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.368892 [ 49284 ] {0bcd6c24-9806-46b9-9f67-712c1832d4ff} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50802) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.369959 [ 49284 ] {0bcd6c24-9806-46b9-9f67-712c1832d4ff} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.514494 [ 49284 ] {ebe8bf65-6528-42b8-bdf0-dc4021df980e} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50814) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.515694 [ 49284 ] {ebe8bf65-6528-42b8-bdf0-dc4021df980e} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.690646 [ 49284 ] {9ffc8a34-db8a-4686-bb2d-07d12e12848b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50858) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.691811 [ 49284 ] {9ffc8a34-db8a-4686-bb2d-07d12e12848b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:03.747506 [ 888 ] {c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_61_48} c36458fc-980a-4abd-8532-93a679ee5ea9::all_0_29_61_48 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_61_48 from 1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:23:04.337617 [ 49284 ] {79db24b7-3bb6-49b4-9e3f-96a118c5d61c} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50974) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.339098 [ 49284 ] {79db24b7-3bb6-49b4-9e3f-96a118c5d61c} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.369478 [ 49284 ] {246e7ae8-0bcc-448c-9906-5f5bcdaffece} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50976) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.371108 [ 49284 ] {246e7ae8-0bcc-448c-9906-5f5bcdaffece} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.703225 [ 49284 ] {05378209-7722-4f88-9a0c-a3a82a3a06a9} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53682) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.704417 [ 49284 ] {05378209-7722-4f88-9a0c-a3a82a3a06a9} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.736942 [ 49284 ] {b8f55925-f78a-4904-83fc-49b8d29ce7de} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53692) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.738132 [ 49284 ] {b8f55925-f78a-4904-83fc-49b8d29ce7de} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.784621 [ 49284 ] {27709619-beb3-4d92-9749-fa3a77c9b341} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53700) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:04.785715 [ 49284 ] {27709619-beb3-4d92-9749-fa3a77c9b341} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.142548 [ 49284 ] {ded7091d-052f-4147-b7d3-29cc4767b818} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53766) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.144412 [ 49284 ] {ded7091d-052f-4147-b7d3-29cc4767b818} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.324627 [ 49287 ] {1e50d85b-007a-474b-bb9f-44d33b2aff74} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53786) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.326583 [ 49287 ] {1e50d85b-007a-474b-bb9f-44d33b2aff74} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.691063 [ 49284 ] {4aa23df3-382a-484e-a598-942f963dc9ae} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53868) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.692425 [ 49284 ] {4aa23df3-382a-484e-a598-942f963dc9ae} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:05.842173 [ 885 ] {f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_29_65_50} f0e062af-c9e8-46f3-a1b7-d16af561c505::all_0_29_65_50 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_65_50 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:23:06.279181 [ 49284 ] {719e8027-8f5a-49bb-a3cd-da77dfadaf06} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53920) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:06.280461 [ 49284 ] {719e8027-8f5a-49bb-a3cd-da77dfadaf06} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:06.349204 [ 49287 ] {08c9243c-064c-4f8f-918b-3172c7525dfe} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:53960) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:06.350404 [ 49287 ] {08c9243c-064c-4f8f-918b-3172c7525dfe} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:06.482116 [ 894 ] {387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_66_51} 387b4375-7d93-4d81-a840-fcd67cbab139::all_0_29_66_51 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_29_66_51 from 3 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.03.19 13:23:07.305696 [ 49284 ] {e0a84d2a-14cb-4136-b891-27c2f7b0c604} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54170) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:07.306924 [ 49284 ] {e0a84d2a-14cb-4136-b891-27c2f7b0c604} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0xc6b0f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb71a56 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:07.921496 [ 49284 ] {0c071036-2546-4640-ac2a-fedbf7f759af} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54244) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:07.922842 [ 49284 ] {0c071036-2546-4640-ac2a-fedbf7f759af} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:59.747928 [ 49288 ] {daee02be-c3d3-4327-a7d2-018b00b0b276} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36522) (comment: 01048_exists_query.sql) (in query: -- But dictionary-tables cannot be dropped as usual tables. DROP TABLE db_01048.t_01048;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x1ebfaae0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c28b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:23:59.748786 [ 49288 ] {daee02be-c3d3-4327-a7d2-018b00b0b276} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0xcc72079 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x1ebfaae0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x1df5c28b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x1df5ad69 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x1df5a518 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:11.313901 [ 49287 ] {query1} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:54716) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:11.315225 [ 49287 ] {query1} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:23.620167 [ 45595 ] {query5} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:43042) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:23.621678 [ 45595 ] {query5} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:30.116058 [ 700 ] {} test_021aj2k1.src (ReplicatedMergeTreePartCheckThread): No replica has part covering 1_2_2_0 and a merge is impossible: we didn't find smaller parts with either the same min block or the same max block. 2024.03.19 13:24:30.122184 [ 700 ] {} test_021aj2k1.src (567516d1-308a-4966-926e-1283b13f195d): Cannot commit empty part 1_2_2_0 with error DB::Exception: Part 1_2_2_0 (state Outdated) already exists, but it will be deleted soon 2024.03.19 13:24:30.123255 [ 700 ] {} test_021aj2k1.src (ReplicatedMergeTreePartCheckThread): Cannot create empty part 1_2_2_0 instead of lost. Will retry later 2024.03.19 13:24:30.356164 [ 49287 ] {query2} executeQuery: Code: 244. DB::Exception: Insert failed due to zookeeper error. Please retry. Reason: Operation timeout. (UNEXPECTED_ZOOKEEPER_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56578) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: INSERT INTO src SELECT number % 2, toString(number) FROM system.numbers LIMIT 100000), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x1c858a19 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:188: DB::ZooKeeperRetriesControl::canTry() @ 0x1c85757b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f70138c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:30.359851 [ 49287 ] {query2} TCPHandler: Code: 244. DB::Exception: Insert failed due to zookeeper error. Please retry. Reason: Operation timeout. (UNEXPECTED_ZOOKEEPER_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x1c858a19 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:188: DB::ZooKeeperRetriesControl::canTry() @ 0x1c85757b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x1f70138c in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x1f70071a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x1f6eb213 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x1f6fcae2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x1fda7642 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1fc89fce in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:103: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x1fc89d33 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x1fc89517 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1f9a8fa3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8cbd in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:56: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9a79b4 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:31.918109 [ 49289 ] {query1} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:56796) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:31.919520 [ 49289 ] {query1} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_021aj2k1.src after copying partition to test_021aj2k1.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1ee160fe in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x1f3a1cd7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df493e2 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:40.076520 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:55756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:24:47.840009 [ 38155 ] {ab09df16-0b5a-45f5-b81e-0ad89834f1de} ExternalDictionariesLoader: Could not load external dictionary 'bee9e35a-f365-4b32-8c87-225fc5d992f1', next update is scheduled at 2024-03-19 13:24:52: Code: 60. DB::Exception: Table database_for_dict.non_existing_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x18a68fd7 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x18a68e28 in /usr/bin/clickhouse 16. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x18b8002e in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b7f93d in /usr/bin/clickhouse 18. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ed7d in /usr/bin/clickhouse 19. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7d6fe in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:24:47.842033 [ 49287 ] {ab09df16-0b5a-45f5-b81e-0ad89834f1de} executeQuery: Code: 60. DB::Exception: Table database_for_dict.non_existing_table doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57584) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) FROM database_for_dict.dict4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x18a68fd7 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x18a68e28 in /usr/bin/clickhouse 16. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x18b8002e in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b7f93d in /usr/bin/clickhouse 18. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ed7d in /usr/bin/clickhouse 19. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7d6fe in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:47.843468 [ 49287 ] {ab09df16-0b5a-45f5-b81e-0ad89834f1de} TCPHandler: Code: 60. DB::Exception: Table database_for_dict.non_existing_table doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x1d28e4a8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x1d2941a0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d175e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 14. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x18a68fd7 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x18a68e28 in /usr/bin/clickhouse 16. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x18b8002e in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x18b7f93d in /usr/bin/clickhouse 18. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x18b7ed7d in /usr/bin/clickhouse 19. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x18b7d6fe in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x1c61f822 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x1d8c7ecd in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl)::$_1, std::shared_ptr (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x1d8cc72a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x1d8d6c59 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x1d8d37c5 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x1d8db6ee in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1d8db502 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 30. ? @ 0x7f8b832b7609 in ? 31. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.159550 [ 49287 ] {9c50994e-eb04-4748-a9c4-50e604ec6efe} executeQuery: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57584) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.160544 [ 49287 ] {9c50994e-eb04-4748-a9c4-50e604ec6efe} TCPHandler: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.166359 [ 49287 ] {5881750f-a84d-43da-88c0-54edb907df2b} executeQuery: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57584) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.167132 [ 49287 ] {5881750f-a84d-43da-88c0-54edb907df2b} TCPHandler: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.172095 [ 49287 ] {5b2443ee-0c1e-4f37-947e-7313316c3798} executeQuery: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57584) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:48.172837 [ 49287 ] {5b2443ee-0c1e-4f37-947e-7313316c3798} TCPHandler: Code: 81. DB::Exception: Database database_for_dict doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x1d28f8d4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:523: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x1d291a77 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x1d1eae5d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d1194 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 23. ? @ 0x7f8b832b7609 in ? 24. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.327239 [ 49288 ] {38935d97-8d43-4973-b6f1-2482b338f74e} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57678) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.331630 [ 49288 ] {38935d97-8d43-4973-b6f1-2482b338f74e} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.386987 [ 52241 ] {9a009599-b6b4-469d-b25b-cfc13b6be66b} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57694) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1214: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a57b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.390061 [ 52241 ] {9a009599-b6b4-469d-b25b-cfc13b6be66b} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x126ba682 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1214: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x1d0a57b2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x1e091e11 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.415769 [ 52238 ] {ac6efa9e-8e31-471c-8714-4236d715b3f3} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57708) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.422678 [ 52238 ] {ac6efa9e-8e31-471c-8714-4236d715b3f3} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.481679 [ 52249 ] {0e45273c-fa13-47e8-960c-854cdbb2bd4b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57746) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.485835 [ 52249 ] {0e45273c-fa13-47e8-960c-854cdbb2bd4b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.856185 [ 52245 ] {232a5bc3-6f0b-4787-b47f-ef6a8ada3bbb} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57824) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.858224 [ 52245 ] {232a5bc3-6f0b-4787-b47f-ef6a8ada3bbb} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.863184 [ 52249 ] {96aa194a-6ee8-403d-aa0b-c4d495287da3} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57848) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:51.866732 [ 52249 ] {96aa194a-6ee8-403d-aa0b-c4d495287da3} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.113636 [ 52238 ] {b3330a5a-15b5-4dad-9ee8-9df09c7d7fa2} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57896) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.118187 [ 52238 ] {b3330a5a-15b5-4dad-9ee8-9df09c7d7fa2} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.311014 [ 52250 ] {2f2d2975-51d5-46d1-82a3-0b0104b0604c} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:57968) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.313771 [ 52250 ] {2f2d2975-51d5-46d1-82a3-0b0104b0604c} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.559679 [ 52249 ] {d864373a-0338-4851-a34f-794598e3ca87} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58004) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.561425 [ 52249 ] {d864373a-0338-4851-a34f-794598e3ca87} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.578367 [ 49289 ] {6931175a-e0f1-4fe7-b59d-e2193daf5fa4} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58024) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.579688 [ 49289 ] {6931175a-e0f1-4fe7-b59d-e2193daf5fa4} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.901665 [ 49288 ] {3c24398f-d354-407c-b6e0-d491a79fcb87} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58138) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.917755 [ 49288 ] {3c24398f-d354-407c-b6e0-d491a79fcb87} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.954867 [ 49289 ] {78ef626f-572a-40ed-8f6f-f4f021e0ef0c} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58140) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:52.964796 [ 49289 ] {78ef626f-572a-40ed-8f6f-f4f021e0ef0c} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.112834 [ 52250 ] {afe826a2-6660-441a-b203-f992f96e672e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58170) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.123747 [ 52250 ] {afe826a2-6660-441a-b203-f992f96e672e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.409534 [ 52245 ] {70936d9b-d35b-45ca-8b26-5e4b2aa63d82} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58254) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.420352 [ 52245 ] {70936d9b-d35b-45ca-8b26-5e4b2aa63d82} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.513736 [ 52246 ] {8683766d-db0e-45ff-a93b-b13b2c06fd68} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58306) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.524771 [ 52246 ] {8683766d-db0e-45ff-a93b-b13b2c06fd68} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.594545 [ 49288 ] {27b87b9c-e9c4-4034-8444-8b2b0cc52232} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58332) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.602158 [ 49288 ] {27b87b9c-e9c4-4034-8444-8b2b0cc52232} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.811644 [ 52244 ] {366f37ba-c140-4367-8bfb-8bf24d220230} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58372) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.813507 [ 52244 ] {366f37ba-c140-4367-8bfb-8bf24d220230} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.877895 [ 52250 ] {aa6d1d21-bce2-4d9d-a438-64154def3c08} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58424) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.879143 [ 52250 ] {aa6d1d21-bce2-4d9d-a438-64154def3c08} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.941998 [ 52246 ] {fe514efd-89f0-4361-9b12-9e2fb998b19f} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58440) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:53.943537 [ 52246 ] {fe514efd-89f0-4361-9b12-9e2fb998b19f} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.173219 [ 52331 ] {d7db0238-2842-4e3e-aa7a-e86ae03f8d83} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58476) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.174577 [ 52331 ] {d7db0238-2842-4e3e-aa7a-e86ae03f8d83} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.246248 [ 52248 ] {b38523d8-6f31-47b4-8241-3070aeddde93} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58506) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.253447 [ 52248 ] {b38523d8-6f31-47b4-8241-3070aeddde93} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.296801 [ 52248 ] {1bd15fa6-35a0-4614-b023-76a8e8976cfa} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58522) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.298295 [ 52248 ] {1bd15fa6-35a0-4614-b023-76a8e8976cfa} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.548524 [ 52330 ] {c0d2a1f1-0874-44cc-ab21-4066a731aa34} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34744) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.558464 [ 52330 ] {c0d2a1f1-0874-44cc-ab21-4066a731aa34} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.613463 [ 52330 ] {7784168d-1b4e-4af0-9e6e-2a2f1a62fb82} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34764) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.614952 [ 52330 ] {7784168d-1b4e-4af0-9e6e-2a2f1a62fb82} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.782734 [ 52349 ] {1c2a214e-ff29-4357-b77e-e121ce91deb6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34766) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.789418 [ 52349 ] {1c2a214e-ff29-4357-b77e-e121ce91deb6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.960005 [ 52249 ] {e5f88996-c285-4974-bcd5-c97a685c6deb} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34790) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.962286 [ 52250 ] {79e0b43c-ec8f-4325-bfd0-a34c6a0fb467} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34792) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.963885 [ 52249 ] {e5f88996-c285-4974-bcd5-c97a685c6deb} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:54.985623 [ 52250 ] {79e0b43c-ec8f-4325-bfd0-a34c6a0fb467} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.140315 [ 49288 ] {a9827d93-39ab-4b6f-88ab-748a7d700ab4} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34836) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.141591 [ 49288 ] {a9827d93-39ab-4b6f-88ab-748a7d700ab4} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.420732 [ 52331 ] {864f894c-231c-4af7-aef8-ace6f0118db7} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34878) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.421949 [ 52331 ] {864f894c-231c-4af7-aef8-ace6f0118db7} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.424934 [ 52273 ] {7f62eaa1-2562-4d16-86cb-62bc707a02df} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34894) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.426486 [ 52273 ] {7f62eaa1-2562-4d16-86cb-62bc707a02df} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.479657 [ 52273 ] {ae613e8a-a279-43d9-850e-91ca006cf998} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34936) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.481021 [ 52273 ] {ae613e8a-a279-43d9-850e-91ca006cf998} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb710e2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.874477 [ 52249 ] {aac9ad17-6467-437a-a046-dd43e0b7514e} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35028) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.876534 [ 52249 ] {aac9ad17-6467-437a-a046-dd43e0b7514e} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.927320 [ 52331 ] {3be59d78-15d5-4bfd-b6d5-9bcb67d06ff3} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35034) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:55.931390 [ 52331 ] {3be59d78-15d5-4bfd-b6d5-9bcb67d06ff3} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.296370 [ 52330 ] {63edbfda-eb2b-4e50-b68b-5722d837a4b7} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35092) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.325092 [ 52330 ] {63edbfda-eb2b-4e50-b68b-5722d837a4b7} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.349569 [ 52241 ] {c32df320-ae66-4d9a-940b-7c2fa4744c4d} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35130) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.363171 [ 52241 ] {c32df320-ae66-4d9a-940b-7c2fa4744c4d} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.708662 [ 52331 ] {1cf05cdf-3b0a-4b2f-8ca6-b48806a40f84} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35200) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.712975 [ 52331 ] {1cf05cdf-3b0a-4b2f-8ca6-b48806a40f84} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.790355 [ 52246 ] {36e72984-d865-4d07-a6e7-f6b602ca87ec} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35216) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:56.801889 [ 52246 ] {36e72984-d865-4d07-a6e7-f6b602ca87ec} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.087079 [ 52331 ] {5724bbd4-7c6b-4991-bcae-3847d3f173a8} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35302) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.092905 [ 52331 ] {5724bbd4-7c6b-4991-bcae-3847d3f173a8} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.163893 [ 52238 ] {77fbf9cc-3a21-4064-b952-efb19bad8b75} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35306) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.172887 [ 52238 ] {77fbf9cc-3a21-4064-b952-efb19bad8b75} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.666773 [ 52330 ] {929e3093-d4ea-4b87-89a4-2a4cc79adfe4} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35418) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.669566 [ 52330 ] {929e3093-d4ea-4b87-89a4-2a4cc79adfe4} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.696980 [ 45594 ] {06649702-5d74-43b7-b6b7-f4af0e166437} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35460) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:57.699468 [ 45594 ] {06649702-5d74-43b7-b6b7-f4af0e166437} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.080412 [ 52330 ] {1a413aba-8677-4e8a-a792-88a81a5fb1fb} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35506) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.082568 [ 52330 ] {1a413aba-8677-4e8a-a792-88a81a5fb1fb} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.127082 [ 52241 ] {590482e5-0ceb-4cf2-8c52-693a620efc2d} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35540) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.129621 [ 52241 ] {590482e5-0ceb-4cf2-8c52-693a620efc2d} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.541618 [ 52330 ] {cfcefb50-b793-4735-b735-5a5c62adb243} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35592) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.548320 [ 52330 ] {cfcefb50-b793-4735-b735-5a5c62adb243} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.634718 [ 45595 ] {7bbaa67a-5cd9-452f-addb-211808f759f9} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35610) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.647142 [ 45595 ] {7bbaa67a-5cd9-452f-addb-211808f759f9} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.954710 [ 52330 ] {4e89994c-d345-4c40-a230-18067edb59a3} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35678) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:58.957648 [ 52330 ] {4e89994c-d345-4c40-a230-18067edb59a3} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.057798 [ 45595 ] {2b571057-72cd-4675-a13d-327c5d20906f} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35714) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.085136 [ 45595 ] {2b571057-72cd-4675-a13d-327c5d20906f} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.458132 [ 52345 ] {0a2d4025-7168-4799-b7f8-6ad3bc8181c5} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35822) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.464896 [ 52345 ] {0a2d4025-7168-4799-b7f8-6ad3bc8181c5} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.559959 [ 52273 ] {7d5cccf1-98dc-4905-beb5-e686caf4a0b8} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35846) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.567759 [ 52273 ] {7d5cccf1-98dc-4905-beb5-e686caf4a0b8} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.873768 [ 49295 ] {18e85a71-61c1-4214-a3b8-de92a5124e60} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35898) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:24:59.882148 [ 49295 ] {18e85a71-61c1-4214-a3b8-de92a5124e60} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.003068 [ 49295 ] {1216ba62-7802-4a85-a985-7b8674448f70} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35942) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.004859 [ 49295 ] {1216ba62-7802-4a85-a985-7b8674448f70} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.331138 [ 49295 ] {800c3794-1b49-4650-b577-09c261376366} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35998) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.335348 [ 49295 ] {800c3794-1b49-4650-b577-09c261376366} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.463336 [ 49295 ] {eb09795e-87e4-4f74-98e4-9ac217611cea} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36060) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.465098 [ 49295 ] {eb09795e-87e4-4f74-98e4-9ac217611cea} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.728956 [ 45595 ] {b658177b-5827-4726-b5e1-8a5f2a0dc271} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36082) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.730282 [ 45595 ] {b658177b-5827-4726-b5e1-8a5f2a0dc271} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.890765 [ 45595 ] {5f70257e-012e-4e65-90d0-c9c3a916c503} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36100) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:00.895592 [ 45595 ] {5f70257e-012e-4e65-90d0-c9c3a916c503} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x1ee55f02 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x1edd345c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49a46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:01.564185 [ 49294 ] {097338d2-95b4-4139-8a72-bc69729aa10c} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36110). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36110) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: SELECT * FROM system.parts FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:01.564205 [ 49295 ] {a066b0c3-f50f-4fc9-8dee-04e0e509cbf0} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36124). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:36124) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: SELECT * FROM system.parts FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:01.571675 [ 49295 ] {a066b0c3-f50f-4fc9-8dee-04e0e509cbf0} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:01.571707 [ 49294 ] {097338d2-95b4-4139-8a72-bc69729aa10c} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36110). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:01.572408 [ 49295 ] {a066b0c3-f50f-4fc9-8dee-04e0e509cbf0} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:01.573130 [ 49294 ] {097338d2-95b4-4139-8a72-bc69729aa10c} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36110). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:01.573997 [ 49295 ] {a066b0c3-f50f-4fc9-8dee-04e0e509cbf0} TCPHandler: Client has gone away. 2024.03.19 13:25:01.574471 [ 49294 ] {097338d2-95b4-4139-8a72-bc69729aa10c} TCPHandler: Client has gone away. 2024.03.19 13:25:02.114948 [ 52250 ] {dcdd9c38-c0a6-47c9-bb9a-70be55164e21} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35448). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35448) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.117909 [ 52250 ] {dcdd9c38-c0a6-47c9-bb9a-70be55164e21} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35448). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:02.118980 [ 52250 ] {dcdd9c38-c0a6-47c9-bb9a-70be55164e21} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35448). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.120601 [ 52250 ] {dcdd9c38-c0a6-47c9-bb9a-70be55164e21} TCPHandler: Client has gone away. 2024.03.19 13:25:02.130998 [ 49288 ] {328275db-db7e-44fa-a8e7-f973b8117e1b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35494). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35494) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.150415 [ 49288 ] {328275db-db7e-44fa-a8e7-f973b8117e1b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:02.150971 [ 49288 ] {328275db-db7e-44fa-a8e7-f973b8117e1b} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x1f93cd63 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: bool std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x1f948ee3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:94: DB::CompletedPipelineExecutor::execute() @ 0x1f9a73f9 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:470: DB::TCPHandler::runImpl() @ 0x1f92fd6e in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.154527 [ 49288 ] {328275db-db7e-44fa-a8e7-f973b8117e1b} TCPHandler: Client has gone away. 2024.03.19 13:25:02.896870 [ 52241 ] {e4a4a9ba-f056-4845-ad7b-db60f5c7634f} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35570). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35570) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.900553 [ 52246 ] {0b84c435-38d6-473b-8271-d7083fee8886} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35578). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35578) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.987622 [ 52241 ] {e4a4a9ba-f056-4845-ad7b-db60f5c7634f} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35570). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:02.987636 [ 52246 ] {0b84c435-38d6-473b-8271-d7083fee8886} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35578). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:25:02.992148 [ 52241 ] {e4a4a9ba-f056-4845-ad7b-db60f5c7634f} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35570). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.992484 [ 52246 ] {0b84c435-38d6-473b-8271-d7083fee8886} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35578). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileEvents() @ 0x1f93f619 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fddd in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 13. ? @ 0x7f8b832b7609 in ? 14. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:25:02.995886 [ 52241 ] {e4a4a9ba-f056-4845-ad7b-db60f5c7634f} TCPHandler: Client has gone away. 2024.03.19 13:25:02.997659 [ 52246 ] {0b84c435-38d6-473b-8271-d7083fee8886} TCPHandler: Client has gone away. 2024.03.19 13:27:26.684358 [ 49287 ] {cancel_http_readonly_queries_on_client_close} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:50334) (comment: 00834_cancel_http_readonly_queries_on_client_close.sh) (in query: SELECT count() FROM system.numbers ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:26.686095 [ 49287 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:27:26.842389 [ 49287 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 244. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0xe6495ed in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromOStream.cpp:21: DB::WriteBufferFromOStream::nextImpl() @ 0x1488c6a4 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x1f95a668 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/BufferBase.h:39: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x1f8c55de in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7ffc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:27:27.098056 [ 49287 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x238b126a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x236d9e98 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x236db628 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x236e30d0 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:0: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x236e1047 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:0: Poco::Net::HTTPSession::write(char const*, long) @ 0x236b1a2f in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:0: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x2369b621 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/include/Poco/BufferedStreamBuf.h:0: Poco::BasicBufferedStreamBuf, Poco::Net::HTTPBufferAllocator>::sync() @ 0x2369cb3f in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:55: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x2369bae0 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x2369c830 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x1f958368 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x1f95399d in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 19. ? @ 0x7f8b832b7609 in ? 20. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:27:46.039421 [ 49287 ] {d8b6666f-25e0-4298-8ddf-95532aa69be6} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35354) (comment: 00716_allow_ddl.sql) (in query: CREATE DATABASE some_db;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6ce79a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x1c6cc8eb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc205 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x1de9c5df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.040577 [ 49287 ] {d8b6666f-25e0-4298-8ddf-95532aa69be6} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6ce79a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x1c6cc8eb in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc205 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x1de9c5df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.324514 [ 49287 ] {f870ee76-be6e-4ea9-bd1f-d8a91255d4f2} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35354) (comment: 00716_allow_ddl.sql) (in query: CREATE TABLE some_table(a Int32) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x1de9c5df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.325583 [ 49287 ] {f870ee76-be6e-4ea9-bd1f-d8a91255d4f2} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x1de9c5df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.595871 [ 49287 ] {2211c109-48b8-4a96-9333-4fcb84d3f4cc} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35354) (comment: 00716_allow_ddl.sql) (in query: ALTER TABLE some_table DELETE WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47988 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.596696 [ 49287 ] {2211c109-48b8-4a96-9333-4fcb84d3f4cc} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df47988 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.841293 [ 49287 ] {aed842dc-87e4-49d0-9fd5-1111647970b8} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35354) (comment: 00716_allow_ddl.sql) (in query: RENAME TABLE some_table TO some_table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x1e0a7393 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:46.842154 [ 49287 ] {aed842dc-87e4-49d0-9fd5-1111647970b8} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0xc68d039 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x1c6e5388 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x1c6e33a1 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x1c6dc350 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x1c692ebb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x1d1f4b02 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x1d1cb7a1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x1e0a7393 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:47.050926 [ 49287 ] {6dfbdf98-96cb-455b-b10d-4a9750735f7a} executeQuery: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:35354) (comment: 00716_allow_ddl.sql) (in query: SET allow_ddl = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7bb3e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa9c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:27:47.051750 [ 49287 ] {6dfbdf98-96cb-455b-b10d-4a9750735f7a} TCPHandler: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0xcca0ba3 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7bb3e9 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:0: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x1c7baa9c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x1c7badd0 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x1d1cc5d2 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x1e185f51 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 18. ? @ 0x7f8b832b7609 in ? 19. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:09.574553 [ 49287 ] {hello} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58686) (comment: 00600_replace_running_query.sh) (in query: SELECT 1, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:09.577475 [ 49287 ] {hello} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x1f9a7515 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a8765 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 17. ? @ 0x7f8b832b7609 in ? 18. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:10.448661 [ 45594 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51806) (comment: 00600_replace_running_query.sh) (in query: SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x1e2321b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fa90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:10.449738 [ 45594 ] {42} TCPHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x1e2321b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fa90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:10.741025 [ 52891 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58734) (comment: 00600_replace_running_query.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x1e2321b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fa90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:10.742176 [ 52891 ] {42} DynamicQueryHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0xcd7f49d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x1e2321b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fa90 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x1e5a7e90 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x1f8c27d7 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1034: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x1f8c7081 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x1f953824 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:10.789592 [ 49287 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51792) (in query: SELECT 2, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:10.791355 [ 49287 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:11.555862 [ 49287 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:51810) (comment: 00600_replace_running_query.sh) (in query: SELECT 3, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:11.558740 [ 49287 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x1e235b31 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:192: DB::PipelineExecutor::finalizeExecution() @ 0x1f9a90c3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long) @ 0x1f9a8d29 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:95: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9bd916 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 10. ? @ 0x7f8b832b7609 in ? 11. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:15.258250 [ 49287 ] {92102a14-26de-4c7d-995e-741fb49306f0} executeQuery: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:58054) (comment: 00575_illegal_column_exception_when_drop_depen_column.sh) (in query: ALTER TABLE test_00575 DROP COLUMN id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70f75 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:15.259757 [ 49287 ] {92102a14-26de-4c7d-995e-741fb49306f0} TCPHandler: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0xc68ed5d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x1eb70f75 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x1df49914 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x1df46f23 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a1b07 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 16. ? @ 0x7f8b832b7609 in ? 17. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:23.777281 [ 49287 ] {b97f7510-9a17-4ef6-9dc9-7ee7cd715898} StorageBuffer (test2_00158.mt_buffer_00158): Destination table test2_00158.mt_00158 doesn't exist. Block of data is discarded. 2024.03.19 13:28:23.782544 [ 49287 ] {b97f7510-9a17-4ef6-9dc9-7ee7cd715898} StorageBuffer (test2_00158.mt_buffer_00158): Destination table test2_00158.mt_00158 doesn't exist. Block of data is discarded. 2024.03.19 13:28:25.825582 [ 49287 ] {6d85ae7c-bcc3-41b9-9285-6a42727f3a8b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34512) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:25.827305 [ 49287 ] {6d85ae7c-bcc3-41b9-9285-6a42727f3a8b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:26.147847 [ 49287 ] {88ac910e-f377-46b2-b88b-3a7c1b8741b3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34522) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:26.149297 [ 49287 ] {88ac910e-f377-46b2-b88b-3a7c1b8741b3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:26.471308 [ 49287 ] {ceb8ed2f-c9a0-4173-81f9-efdc1c328627} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34526) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:26.473060 [ 49287 ] {ceb8ed2f-c9a0-4173-81f9-efdc1c328627} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 2424958 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:64: FiberStack::allocate() const @ 0x1ccbf5a0 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1(FiberStack&, DB::ConnectionEstablisherAsync::Routine&&) @ 0x1f821aa9 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: DB::ConnectionEstablisherAsync::resume() @ 0x1f820d2c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::HedgedConnectionsFactory::resumeConnectionEstablisher(int, DB::Connection*&) @ 0x1f832454 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:203: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode) @ 0x1f8308e8 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr) @ 0x1f822c71 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_3, std::unique_ptr> ()>>(std::__function::__policy_storage const*) @ 0x1ccb51f4 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae1a5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:26.885308 [ 49287 ] {c6ab2ebc-1aa5-4e43-86ab-e7e9316212d2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34532) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:26.886740 [ 49287 ] {c6ab2ebc-1aa5-4e43-86ab-e7e9316212d2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.220265 [ 49287 ] {37b14fd6-ca36-49d7-ae21-1da3f25b5473} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34536) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.221520 [ 49287 ] {37b14fd6-ca36-49d7-ae21-1da3f25b5473} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.635169 [ 49287 ] {6005658e-101c-40a8-bac4-d716f09bf484} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 3.34 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34552) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.636650 [ 49287 ] {6005658e-101c-40a8-bac4-d716f09bf484} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 3.34 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.951486 [ 49287 ] {5698ec18-4f41-4a42-afce-d7aa2448c89d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 3.81 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34564) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:27.953181 [ 49287 ] {5698ec18-4f41-4a42-afce-d7aa2448c89d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 3.81 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:28.268031 [ 49287 ] {003f177a-c3e4-4c77-83ba-a5195f060680} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 4.29 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34578) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:28.269351 [ 49287 ] {003f177a-c3e4-4c77-83ba-a5195f060680} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 4.29 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:28.837146 [ 45594 ] {5581cdfd-9ee0-4886-a3ef-b2b73ed55a69} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51456) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_bcd11gzy.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:28.837157 [ 49287 ] {2dcaa4dc-3e59-4ee8-987e-57abac3e0ca5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 4.77 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34590) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f803af9 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:28.838645 [ 45594 ] {5581cdfd-9ee0-4886-a3ef-b2b73ed55a69} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:28.838651 [ 49287 ] {2dcaa4dc-3e59-4ee8-987e-57abac3e0ca5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 4.77 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f803af9 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:28.839296 [ 45594 ] {5581cdfd-9ee0-4886-a3ef-b2b73ed55a69} TCPHandler: Client has gone away. 2024.03.19 13:28:29.194386 [ 49287 ] {677666e9-96eb-4f53-9f1e-d669ef6ae67b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34596) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f803af9 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:29.195208 [ 45594 ] {62e497a5-df9c-43b5-bf0a-edd5d667debc} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51466) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_bcd11gzy.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:29.195920 [ 49287 ] {677666e9-96eb-4f53-9f1e-d669ef6ae67b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x1f803af9 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x1f823af4 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:645: DB::RemoteQueryExecutor::sendExternalTables() @ 0x1ccaf758 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3f5 in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:274: DB::RemoteQueryExecutor::read() @ 0x1ccafb71 in /usr/bin/clickhouse 15. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:123: DB::RemoteQueryExecutor::readBlock() @ 0x1ccaf937 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef68743 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:672: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x1ef6aa18 in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x1c1cd31d in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:995: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x1c1cc134 in /usr/bin/clickhouse 20. ./build_docker/./src/TableFunctions/ITableFunction.cpp:0: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x1c612e33 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x1d1d0576 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x1e1d136a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x1e0b7fb9 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e0b6726 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x1e180a1f in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x1e17dcc4 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x1e06a3a9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x1e0693a4 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e5a10f7 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 2024.03.19 13:28:29.196128 [ 45594 ] {62e497a5-df9c-43b5-bf0a-edd5d667debc} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:29.196609 [ 45594 ] {62e497a5-df9c-43b5-bf0a-edd5d667debc} TCPHandler: Client has gone away. 2024.03.19 13:28:29.541174 [ 49287 ] {0f1c3c2d-c8d6-4d78-bb34-54d81758ad70} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.63 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34610) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:29.547096 [ 49287 ] {0f1c3c2d-c8d6-4d78-bb34-54d81758ad70} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.63 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:29.782567 [ 45594 ] {414bf5ab-d5ee-4b12-800f-9af7e1d5233d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51476). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51476) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:29.785150 [ 45594 ] {414bf5ab-d5ee-4b12-800f-9af7e1d5233d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51476). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:29.785630 [ 45594 ] {414bf5ab-d5ee-4b12-800f-9af7e1d5233d} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51476). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:29.786165 [ 45594 ] {414bf5ab-d5ee-4b12-800f-9af7e1d5233d} TCPHandler: Client has gone away. 2024.03.19 13:28:29.900712 [ 49287 ] {b9bc7a8e-7641-495d-9f03-e08d5d2d2b79} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.63 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34622) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:29.905897 [ 49287 ] {b9bc7a8e-7641-495d-9f03-e08d5d2d2b79} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.63 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded40a6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbb2c in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:30.022003 [ 45594 ] {cce06eff-97e8-4f1d-b366-4ddcbaa72c63} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51486). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51486) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.024819 [ 45594 ] {cce06eff-97e8-4f1d-b366-4ddcbaa72c63} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51486). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:30.025192 [ 45594 ] {cce06eff-97e8-4f1d-b366-4ddcbaa72c63} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51486). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.025747 [ 45594 ] {cce06eff-97e8-4f1d-b366-4ddcbaa72c63} TCPHandler: Client has gone away. 2024.03.19 13:28:30.278044 [ 49287 ] {9953c1ec-3b86-4cbb-a2e6-a917173cb836} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34634) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:30.283730 [ 49287 ] {9953c1ec-3b86-4cbb-a2e6-a917173cb836} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:30.370617 [ 45594 ] {8d8ecf10-aafc-4d13-9a47-22996b109556} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51494). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51494) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.373226 [ 45594 ] {8d8ecf10-aafc-4d13-9a47-22996b109556} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:30.373652 [ 45594 ] {8d8ecf10-aafc-4d13-9a47-22996b109556} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51494). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.374228 [ 45594 ] {8d8ecf10-aafc-4d13-9a47-22996b109556} TCPHandler: Client has gone away. 2024.03.19 13:28:30.749450 [ 49287 ] {0542f701-c73b-48be-9972-83b766e06a19} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 7.15 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34636) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:30.756122 [ 49287 ] {0542f701-c73b-48be-9972-83b766e06a19} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 7.15 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x1ded58d2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x1f7fbd33 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:394: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x1f7fe856 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x1f81ec12 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:36: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x1f820a7f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f8224e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f821d5a in /usr/bin/clickhouse 2024.03.19 13:28:30.885868 [ 45594 ] {13359b10-d577-4e68-b59d-85a495b9a182} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51506). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51506) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.888558 [ 45594 ] {13359b10-d577-4e68-b59d-85a495b9a182} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51506). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:30.888959 [ 45594 ] {13359b10-d577-4e68-b59d-85a495b9a182} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51506). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f9399ad in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:30.889494 [ 45594 ] {13359b10-d577-4e68-b59d-85a495b9a182} TCPHandler: Client has gone away. 2024.03.19 13:28:31.313038 [ 49287 ] {243897dc-8079-4b34-8058-ff5307a010b6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53486) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.313023 [ 45594 ] {b7ff6ea7-0d2a-43b6-a714-193cc3de6473} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 7.63 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34644) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.314652 [ 49287 ] {243897dc-8079-4b34-8058-ff5307a010b6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.317782 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:53486). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:31.318823 [ 53345 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:51508). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:31.319214 [ 45594 ] {b7ff6ea7-0d2a-43b6-a714-193cc3de6473} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 7.63 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.720078 [ 45594 ] {09dd6f18-5f94-439b-ad2d-9f8f7b02b407} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 8.11 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34652) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.722426 [ 49287 ] {df9e02b7-3635-40e5-8ae8-b9dafc8835f0} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53500) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.723914 [ 49287 ] {df9e02b7-3635-40e5-8ae8-b9dafc8835f0} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.725152 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:53500). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:31.726675 [ 45594 ] {09dd6f18-5f94-439b-ad2d-9f8f7b02b407} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 8.11 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.972596 [ 53345 ] {aab81491-5111-4d7c-ad4d-1017c3cd0f93} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51520). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51520) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939fe1 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.974945 [ 53345 ] {aab81491-5111-4d7c-ad4d-1017c3cd0f93} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:31.975259 [ 53345 ] {aab81491-5111-4d7c-ad4d-1017c3cd0f93} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51520). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendData(DB::Block const&) @ 0x1f93c8de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939fe1 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:31.975724 [ 53345 ] {aab81491-5111-4d7c-ad4d-1017c3cd0f93} TCPHandler: Client has gone away. 2024.03.19 13:28:32.127634 [ 45594 ] {efcf5982-913d-4226-bd98-89dbb35e9a87} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 8.58 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34656) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.131815 [ 49287 ] {169c8821-d0a6-4bff-b887-3e3bcecaef54} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53510) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.133338 [ 45594 ] {efcf5982-913d-4226-bd98-89dbb35e9a87} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.63 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 8.58 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::alloc(unsigned long) @ 0x14752902 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x1cbf6f91 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::sendData(DB::Block const&, String const&, bool) @ 0x1f8014b9 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:189: DB::Connection::sendScalarsData(std::map, std::allocator>>&) @ 0x1f802a99 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendScalarsData(std::map, std::allocator>>&) @ 0x1f823731 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:252: DB::RemoteQueryExecutor::sendQuery(DB::ClientInfo::QueryKind) @ 0x1ccae3ed in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x1fd9664b in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x1f9942aa in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 21. ? @ 0x7f8b832b7609 in ? 22. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.133608 [ 49287 ] {169c8821-d0a6-4bff-b887-3e3bcecaef54} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0xcc63782 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1f947788 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x1d1ea1cb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x1e59fb61 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x1e59e6ec in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92faf4 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 15. ? @ 0x7f8b832b7609 in ? 16. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.134373 [ 49287 ] {169c8821-d0a6-4bff-b887-3e3bcecaef54} TCPHandler: Client has gone away. 2024.03.19 13:28:32.209933 [ 53345 ] {fe39d164-6654-48b5-8591-2f2074953c35} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51530). (NETWORK_ERROR) (version 23.3.19.34.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51530) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_bcd11gzy`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.212452 [ 53345 ] {fe39d164-6654-48b5-8591-2f2074953c35} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51530). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x1f94665c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x1f93ac28 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f931430 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:32.212871 [ 53345 ] {fe39d164-6654-48b5-8591-2f2074953c35} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:51530). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x1ded5d0e in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x1ded54ac in /usr/bin/clickhouse 4. ./build_docker/./src/IO/BufferBase.h:39: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x1f93da77 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:897: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x1f939dc5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x1f92fc44 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 14. ? @ 0x7f8b832b7609 in ? 15. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:32.213552 [ 53345 ] {fe39d164-6654-48b5-8591-2f2074953c35} TCPHandler: Client has gone away. 2024.03.19 13:28:32.620631 [ 53345 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:51540). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:32.656723 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:53524). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:32.757377 [ 45594 ] {059012d1-6203-4b74-a37b-a3d86e7d7e7e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.84 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34668) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:32.761493 [ 45594 ] {059012d1-6203-4b74-a37b-a3d86e7d7e7e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.84 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:33.326475 [ 45594 ] {cd82d1c7-8cdc-48e8-931b-9dc9d972fc44} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.85 MiB (attempt to allocate chunk of 1285703 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34672) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:33.332178 [ 45594 ] {cd82d1c7-8cdc-48e8-931b-9dc9d972fc44} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.85 MiB (attempt to allocate chunk of 1285703 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:33.817993 [ 53345 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:51560). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:33.842572 [ 45594 ] {120fc8fe-61d2-4d8e-abe2-814037f6e06e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.84 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34688) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:33.847677 [ 45594 ] {120fc8fe-61d2-4d8e-abe2-814037f6e06e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.84 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469b19d in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::Memory>::resize(unsigned long) @ 0x147765f2 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x1cbf222f in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:67: DB::NativeReader::read() @ 0x1f972343 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:34.333831 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:53540). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:34.471593 [ 45594 ] {831380ae-1404-45e5-8fed-dec1b49ce8f1} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.49 MiB (attempt to allocate chunk of 1209965 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34700) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc690c82 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:324: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1ce82a5b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:34.477154 [ 45594 ] {831380ae-1404-45e5-8fed-dec1b49ce8f1} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.49 MiB (attempt to allocate chunk of 1209965 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0xc690c82 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:324: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1ce82a5b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806940 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:34.993823 [ 49287 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:50004). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x1ded457d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x1ded3b50 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:67: DB::TCPHandler::runImpl() @ 0x1f92ef43 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2079: DB::TCPHandler::run() @ 0x1f946a48 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x236e4883 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x236e50f3 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x2394069a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x2393ea50 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x2393d068 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 12. ? @ 0x7f8b832b7609 in ? 13. __clone @ 0x7f8b831dc353 in ? (version 23.3.19.34.altinitystable (altinity build)) 2024.03.19 13:28:35.121152 [ 45594 ] {5110d38c-f6ef-4c4e-b020-31151f7254de} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 14.74 MiB (attempt to allocate chunk of 1048832 bytes), maximum: 14.40 MiB.: (avg_value_size_hint = 0, avg_chars_size = 1, limit = 28): while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34946) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1cead8a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806c0a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:35.127248 [ 45594 ] {5110d38c-f6ef-4c4e-b020-31151f7254de} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 14.74 MiB (attempt to allocate chunk of 1048832 bytes), maximum: 14.40 MiB.: (avg_value_size_hint = 0, avg_chars_size = 1, limit = 28): while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x1469e85f in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:103: Allocator::alloc(unsigned long, unsigned long) @ 0x1469a859 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x1cead8a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:209: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x1ce2cd45 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:200: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x1f971ed6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:115: DB::NativeReader::read() @ 0x1f9739bc in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:1032: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x1f80852b in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x1f806c0a in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x1f82b86f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: boost::context::detail::fiber_capture_record::run() @ 0x1f82b327 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:74: void boost::context::detail::fiber_entry_func>(void*) @ 0x1f82893a in /usr/bin/clickhouse 2024.03.19 13:28:35.880181 [ 45594 ] {4d8e20df-8d1f-429b-bdf0-d3075c3bc9bf} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.44 MiB (attempt to allocate chunk of 1779968 bytes), maximum: 16.78 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.34.altinitystable (altinity build)) (from [::1]:34958) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_bcd11gzy.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469db5e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x1d52145c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x1d520c92 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2891: void DB::Aggregator::mergeStreamsImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x1d492f75 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3192: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x1d3b4454 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x1fcc5793 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ? 2024.03.19 13:28:35.884801 [ 45594 ] {4d8e20df-8d1f-429b-bdf0-d3075c3bc9bf} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.44 MiB (attempt to allocate chunk of 1779968 bytes), maximum: 16.78 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:0: Poco::Exception::Exception(String const&, int) @ 0x238a569e in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:91: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x146e0ab8 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x146f109b in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146efd44 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x146ef726 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::realloc(long, long) @ 0x1469ea94 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:141: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x1469db5e in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x1d52145c in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x1d520c92 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2891: void DB::Aggregator::mergeStreamsImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x1d492f75 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3192: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x1d3b4454 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x1fcc5793 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x18a45614 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1f990726 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x1f9b8f2a in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x1f9a9c41 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:345: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x1f9ab4ee in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:789: ThreadPoolImpl::worker(std::__list_iterator) @ 0x147fa8e8 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x148003b2 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0xc6017e7 in /usr/bin/clickhouse 20. ? @ 0x7f8b832b7609 in ? 21. __clone @ 0x7f8b831dc353 in ?